Returns the index of the provided object in the collection.
Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function IndexOf ( _
    testObject As ITestObject(Of Integer) _
) As Integer
int IndexOf(
    ITestObject<int> testObject
)
int IndexOf(
    ITestObject<int>^ testObject
)
abstract IndexOf : 
        testObject:ITestObject<int> -> int
function IndexOf(
    testObject : ITestObject<int>
) : int
Parameters
testObject
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestObject<Int32>An ITestObject<T> object.
Return Value
Type: Int32
The index of the provided object in the collection, or nulla null reference (Nothing in Visual Basic) if the object does not exist in the 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.
 
See Also
Reference
ITestSuiteEntryCollection Interface