IndexOfName Method (TagCollection)
Returns the 0-based index of a
NamedCollectionItem with specified name in the current
NamedCollection.
'Declaration
Public Function IndexOfName( _
ByVal As String _
) As Integer
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.