Method IndexOf
IndexOf(FieldValue)
Searches for the specified value in the list represented by this
instance and returns the zero-based index of the first occurrence
of this value.
Declaration
public int IndexOf(FieldValue item)
Parameters
Type | Name | Description |
---|---|---|
FieldValue | item | The value to search for. |
Returns
Type | Description |
---|---|
Int32 | The zero-based index of the first occurrence of
item if found, otherwise -1. |
Remarks
The equality of the values in the list is determined by the
semantics of Equals(FieldValue) method.