共用方式為


GlobalObjectCollection.IList.IndexOf Method

Gets the position of an object in the collection.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣告
Private Function IndexOf ( _
    item As Object _
) As Integer Implements IList.IndexOf
int IList.IndexOf(
    Object item
)

Parameters

Return Value

Type: System.Int32
The position of the object in the collection.

Implements

IList.IndexOf(Object)

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

Microsoft.VisualStudio.Shell.Design Namespace