UIDataSourceCollection.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 IVsUIDataSource _
) As Integer
'Utilisation
Dim instance As UIDataSourceCollection
Dim item As IVsUIDataSource
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
IVsUIDataSource item
)
public:
virtual int IndexOf(
IVsUIDataSource^ item
) sealed
abstract IndexOf :
item:IVsUIDataSource -> int
override IndexOf :
item:IVsUIDataSource -> int
public final function IndexOf(
item : IVsUIDataSource
) : 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.