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
- actionId
Type: System.Int32
An ITestAction object.
Return Value
Type: System.Int32
The zero-based index of the first occurrence in the whole collection.
.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.