FeatureAttributeCollection

FeatureAttributeCollection class

A FeatureAttributeCollection defines what attributes are available for a Feature.

public sealed class FeatureAttributeCollection : IEnumerable<FeatureAttribute>

Properties

Name Description
Count { get; } Gets the number of attributes in a Feature.
IsLocked { get; } Gets a value indicating whether this attribute collection is locked.
Item { get; set; } Gets or sets the FeatureAttribute at the specified index.
Item { get; } Gets or sets the FeatureAttribute with a specified name.

Methods

Name Description
Add(FeatureAttribute) Adds an attribute to the collection.
Contains(string) Determines whether the attribute collection contains an attribute with the specified name.
GetEnumerator() Returns an enumerator that iterates through the collection.
IndexOf(string) Searches for the attribute and returns the its zero-based index.
Lock() Locks this attribute collection to prevent further modifications.
Remove(int) Removes the attribute from the collection.
Remove(string) Removes the attribute from the collection.

See Also