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.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

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

Parameters

name
Type: System..::..String

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

Return Value

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

See Also