Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the position of an item in the collection.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Private Function IndexOf ( _
item As Object _
) As Integer Implements IList.IndexOf
'Usage
Dim instance As GlobalTypeCollection
Dim item As Object
Dim returnValue As Integer
returnValue = CType(instance, IList).IndexOf(item)
int IList.IndexOf(
Object item
)
private:
virtual int IndexOf(
Object^ item
) sealed = IList::IndexOf
private abstract IndexOf :
item:Object -> int
private override IndexOf :
item:Object -> int
JScript does not support explicit interface implementations.
Parameters
- item
Type: System.Object
The item to find.
Return Value
Type: System.Int32
The position of the item, or -1 if it was not found.
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.