IndexOfName

TagCollection.IndexOfName method

Returns the zero-based index of the specified key in the collection.

public int IndexOfName(string name)
ParameterTypeDescription
nameStringThe name to locate in the collection.

Return Value

The zero-based index of key, if key is found in the collection; otherwise, -1.

See Also