DataSourceGroupCollection.IndexOf(DataSourceGroup) 方法

定义

返回中 a DataSourceGroupDataSourceGroupCollection索引。

public:
 int IndexOf(System::ComponentModel::Design::Data::DataSourceGroup ^ value);
public int IndexOf(System.ComponentModel.Design.Data.DataSourceGroup value);
member this.IndexOf : System.ComponentModel.Design.Data.DataSourceGroup -> int
Public Function IndexOf (value As DataSourceGroup) As Integer

参数

value
DataSourceGroup

DataSourceGroup 查找的。

返回

如果找到,则为 的DataSourceGroup索引valueDataSourceGroupCollection;否则为 -1。

适用于