FeatureAttributeCollection.Item

FeatureAttributeCollection indexer (1 of 2)

获取或设置指定索引处的 FeatureAttribute

public FeatureAttribute this[int index] { get; set; }
参数描述
索引要获取或设置的属性的零基索引。

返回值

指定索引处的属性。

异常

异常条件
ArgumentOutOfRangeException索引超出范围。
InvalidOperationException尝试修改已锁定的集合。

另见


FeatureAttributeCollection indexer (2 of 2)

获取或设置具有指定名称的 FeatureAttribute

public FeatureAttribute this[string name] { get; }
参数描述
名称属性的名称。

返回值

具有指定名称的属性,如果未找到则为 null

异常

异常条件
ArgumentNullException属性名称为 null

另见