TaskProvider.TaskCollection.IList.IndexOf Method
Gets the index of the collection at which the specified task exists.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Private Function IndexOf ( _
obj As Object _
) As Integer Implements IList.IndexOf
int IList.IndexOf(
Object obj
)
private:
virtual int IndexOf(
Object^ obj
) sealed = IList::IndexOf
private abstract IndexOf :
obj:Object -> int
private override IndexOf :
obj:Object -> int
JScript does not support explicit interface implementations.
Parameters
obj
Type: ObjectThe task to find.
Return Value
Type: Int32
The index of the collection at which the task exists.
Implements
IList.IndexOf(Object)
.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.