TaskProvider.TaskCollection.IList.IndexOf Method

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

Syntax

'宣言
Private Function IndexOf ( _
    obj As Object _
) As Integer Implements IList.IndexOf
'使用
Dim instance As TaskProvider..::.TaskCollection
Dim obj As Object
Dim returnValue As Integer

returnValue = CType(instance, IList).IndexOf(obj)
int IList.IndexOf(
    Object obj
)
private:
virtual int IndexOf(
    Object^ obj
) sealed = IList::IndexOf
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IList.IndexOf(Object)

Permissions

See Also

Reference

TaskProvider.TaskCollection Class

TaskProvider.TaskCollection Members

Microsoft.VisualStudio.Shell Namespace