Parameters
- name
- The name 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.
This method searches the collection for a Field whose Name matches the given name. If it finds a reference to it, it will return its index. If it cannot find a reference to it, this method will return -1. If the object is present more than once in the collection, or if multiple objects in the collection have the same Name, this method will return the lowest index of a match.