共用方式為


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

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

Parameters

Return Value

Type: System.Int32
The index of the collection at which the task exists.

Implements

IList.IndexOf(Object)

.NET Framework Security

See Also

Reference

TaskProvider.TaskCollection Class

Microsoft.VisualStudio.Shell Namespace