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