Edit

Share via


DataSourceDescriptorCollection.IndexOf(DataSourceDescriptor) Method

Definition

Returns the index of a DataSourceDescriptor in the DataSourceDescriptorCollection.

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

Parameters

Returns

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

Applies to