Partager via


DataSourceCollection.IndexOf Method

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Function IndexOf ( _
    item As IDataSource _
) As Integer
'Utilisation
Dim instance As DataSourceCollection
Dim item As IDataSource
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    IDataSource item
)
public:
virtual int IndexOf(
    IDataSource^ item
) sealed
abstract IndexOf : 
        item:IDataSource -> int 
override IndexOf : 
        item:IDataSource -> int 
public final function IndexOf(
    item : IDataSource
) : int

Parameters

Return Value

Type: System.Int32

Implements

IList<T>.IndexOf(T)

.NET Framework Security

See Also

Reference

DataSourceCollection Class

DataSourceCollection Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace