Returns an array of values of the field specified as the method parameter. This method returns an empty array when there are no matching fields. It never returns null.

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

Syntax

C#
public string[] GetValues(
	string name
)
Visual Basic
Public Function GetValues ( _
	name As String _
) As String()
Visual C++
public:
array<String^>^ GetValues(
	String^ name
)

Parameters

name
Type: System..::..String
the name of the field

Return Value

a
CopyC#
String[]
of field values

See Also