IndexOf
DataLabelCollection.IndexOf 方法
返回集合中指定 DataLabel 的索引。
public int IndexOf(IDataLabel value)
参数 | 类型 | 描述 |
---|---|---|
value | IDataLabel | 要查找的 DataLabel。 |
返回值
DataLabel 的索引,如果 DataLabel 不在此集合中,则返回 -1。
返回集合中指定 DataLabel 的索引。
public int IndexOf(IDataLabel value)
参数 | 类型 | 描述 |
---|---|---|
value | IDataLabel | 要查找的 DataLabel。 |
DataLabel 的索引,如果 DataLabel 不在此集合中,则返回 -1。