Redigera

Dela via


DataSourceGroupCollection.IndexOf(DataSourceGroup) Method

Definition

Returns the index of a DataSourceGroup in the 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

Parameters

value
DataSourceGroup

The DataSourceGroup to locate.

Returns

The index of the DataSourceGroup of value in the DataSourceGroupCollection, if found; otherwise, -1.

Applies to