FeatureAttributeCollection.IndexOf

FeatureAttributeCollection.IndexOf method

搜索属性并返回其基于零的索引。

public int IndexOf(string name)
参数类型描述
名称字符串属性的名称。

返回值

属性在集合中的零基索引,如果找到;否则为 –1。

异常

异常条件
ArgumentNullException属性名称为 null

另见