TestActionResultCollection.IndexOf Method (Int32)

 

Searches for a test action result that has the specified action ID and returns the zero-based index of the first occurrence in the entire collection.

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

Syntax

public int IndexOf(
    int actionId
)
public:
int IndexOf(
    int actionId
)
member IndexOf : 
        actionId:int -> int
Public Function IndexOf (
    actionId As Integer
) As Integer

Parameters

  • actionId
    Type: System.Int32

    The action ID for the desired test action result.

Return Value

Type: System.Int32

The zero-based index of the first occurrence of the desired test action result in the whole collection.

See Also

IndexOf Overload
TestActionResultCollection Class
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top