DataSourceDescriptorCollection.IndexOf Method (DataSourceDescriptor)


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

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

public int IndexOf(
	DataSourceDescriptor value

Return Value

Type: System.Int32

The index of the DataSourceDescriptor of value in the DataSourceDescriptorCollection, if found; otherwise, -1.

.NET Framework
Available since 2.0
Return to top