DataSourceDescriptorCollection.IndexOf(DataSourceDescriptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- value
- DataSourceDescriptor
The DataSourceDescriptor to locate.
Returns
The index of the DataSourceDescriptor of value
in the DataSourceDescriptorCollection, if found; otherwise, -1.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.