IndexOfName Method (NamedCollection)
Returns the 0-based index of a
NamedCollectionItem with specified name in the current
NamedCollection.
Parameters
- name
- The name of the item to locate.
Return Value
The 0-based index of the specified item, or -1 if the item was not found.