Returns the string value of the field with the given name if any exist in this document, or null. If multiple fields exist with this name, this method returns the first value added. If only binary fields with this name exist, returns null.

Namespace: Lucene.Net.Documents
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public string Get(
	string name
)
Visual Basic
Public Function Get ( _
	name As String _
) As String
Visual C++
public:
String^ Get(
	String^ name
)

Parameters

name
Type: System..::..String

[Missing <param name="name"/> documentation for "M:Lucene.Net.Documents.Document.Get(System.String)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Documents.Document.Get(System.String)"]

See Also