Initializes the field with the supplied
CopyC# value.
Namespace: Lucene.Net.DocumentslongAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
public NumericField SetLongValue( long value_Renamed ) |
| Visual Basic |
|---|
Public Function SetLongValue ( _ value_Renamed As Long _ ) As NumericField |
| Visual C++ |
|---|
public: NumericField^ SetLongValue( long long value_Renamed ) |
Parameters
- value_Renamed
- Type: System..::..Int64
[Missing <param name="value_Renamed"/> documentation for "M:Lucene.Net.Documents.NumericField.SetLongValue(System.Int64)"]
Return Value
this instance, because of this you can use it the following way:document.add(new NumericField(name, precisionStep).SetLongValue(value))