'Usage Dim instance As FieldCollection Dim value As Field Dim value As Integer value = instance.IndexOf(value)
Parameters
- value
- The object to search for in the collection.
Return Value
If the Field is present in the collection, this method will return the zero-based index of the first occurrence of it; otherwise this method will return -1.