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.
Get the position of the specified item.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Function IndexOf ( _
item As GlobalType _
) As Integer
'Usage
Dim instance As GlobalTypeCollection
Dim item As GlobalType
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
GlobalType item
)
public:
int IndexOf(
GlobalType^ item
)
member IndexOf :
item:GlobalType -> int
public function IndexOf(
item : GlobalType
) : int
Parameters
- item
Type: Microsoft.VisualStudio.Shell.Design.GlobalType
The item to find.
Return Value
Type: System.Int32
The index at which the item was found, or -1 if it is not in the collection.
.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.