Share via


TestActionCollection.IndexOf Method (Int32)

Searches for the specified test action and returns the zero-based index of the first occurrence in the whole collection.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    actionId As Integer _
) As Integer
public int IndexOf(
    int actionId
)
public:
int IndexOf(
    int actionId
)
member IndexOf : 
        actionId:int -> int 
public function IndexOf(
    actionId : int
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index of the first occurrence in the whole collection.

.NET Framework Security

See Also

Reference

TestActionCollection Class

IndexOf Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestAction