IndexOf

DataLabelCollection.IndexOf 方法

返回集合中指定 DataLabel 的索引。

public int IndexOf(IDataLabel value)
参数类型描述
valueIDataLabel要查找的 DataLabel。

返回值

DataLabel 的索引,如果 DataLabel 不在此集合中,则返回 -1。

另见