DataSourceGroupCollection.IndexOf(DataSourceGroup) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回中 a DataSourceGroup 的 DataSourceGroupCollection索引。
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。