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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.