Return the fieldName identified by its number.

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

Syntax

C#
public string FieldName(
	int fieldNumber
)
Visual Basic
Public Function FieldName ( _
	fieldNumber As Integer _
) As String
Visual C++
public:
String^ FieldName(
	int fieldNumber
)

Parameters

fieldNumber
Type: System..::..Int32

[Missing <param name="fieldNumber"/> documentation for "M:Lucene.Net.Index.FieldInfos.FieldName(System.Int32)"]

Return Value

the fieldName or an empty string when the field with the given number doesn't exist.

See Also