FeatureAttributeCollection.IndexOf

FeatureAttributeCollection.IndexOf method

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

public int IndexOf(string name)
ParameterTypeDescription
nameStringName of the attribute.

Return Value

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

Exceptions

exceptioncondition
ArgumentNullExceptionThe attribute name is null.

See Also