Method Get
Get(String)
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
.
For Int32Field, Int64Field,
SingleField and DoubleField it returns the string value of the number. If you want
the actual numeric field instance back, use GetField(String).
Declaration
public string Get(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.String |
|