DataSourceGroupCollection.IndexOf Method (DataSourceGroup)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the index of a DataSourceGroup in the DataSourceGroupCollection.

Namespace:   System.ComponentModel.Design.Data
Assembly:  System.Design (in System.Design.dll)

public int IndexOf(
	DataSourceGroup value

Return Value

Type: System.Int32

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

.NET Framework
Available since 2.0
Return to top