Return the fieldinfo object referenced by the fieldNumber.

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

Syntax

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

Parameters

fieldNumber
Type: System..::..Int32

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

Return Value

the FieldInfo object or null when the given fieldNumber doesn't exist.

See Also