GlobalObjectCollection.IList.IndexOf Method

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
'使用
Dim instance As GlobalObjectCollection
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
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IList.IndexOf(Object)

Permissions

See Also

Reference

GlobalObjectCollection Class

GlobalObjectCollection Members

Microsoft.VisualStudio.Shell.Design Namespace