FeatureAttributeCollection.IndexOf method

Searches for the attribute and returns the its zero-based index.

public int IndexOf(string name)
Parameter Type Description
name String Name of the attribute.

Return Value

The zero-based index of the attribute within the collection, if found; otherwise, –1.


exception condition
ArgumentNullException The attribute name is null.

See Also