类 FeatureAttributeCollection

FeatureAttributeCollection class

FeatureAttributeCollection 定义了可用于 Feature 的属性。

public sealed class FeatureAttributeCollection : IEnumerable<FeatureAttribute>

属性

名称描述
Count { get; }获取 Feature 中属性的数量。
IsLocked { get; }获取一个值,指示此属性集合是否已锁定。
Item { get; set; }获取或设置指定索引处的 FeatureAttribute
Item { get; }获取或设置具有指定名称的 FeatureAttribute

方法

名称描述
Add(FeatureAttribute)向集合中添加属性。
Contains(string)确定属性集合是否包含具有指定名称的属性。
GetEnumerator()返回遍历集合的枚举器。
IndexOf(string)搜索属性并返回其零基索引。
Lock()锁定此属性集合以防止进一步修改。
Remove(int)从集合中移除属性。
Remove(string)从集合中移除属性。

另见