FeatureAttributeCollection.Item

FeatureAttributeCollection indexer (1 of 2)

Gets or sets the FeatureAttribute at the specified index.

public FeatureAttribute this[int index] { get; set; }
ParameterDescription
indexThe zero-based index of the attribute to get or set.

Return Value

The attribute at the specified index.

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionThe index is out of range.
InvalidOperationExceptionAttempt to modify a locked collection.

See Also


FeatureAttributeCollection indexer (2 of 2)

Gets or sets the FeatureAttribute with a specified name.

public FeatureAttribute this[string name] { get; }
ParameterDescription
nameName of the attributes.

Return Value

The attribute with the specified name, or null if it’s not found.

Exceptions

exceptioncondition
ArgumentNullExceptionThe attribute name is null.

See Also