Share via


ITestSuiteEntryCollection.IndexOf Method (ITestObject<Int32>)

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

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

See Also

Reference

ITestSuiteEntryCollection Interface

IndexOf Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestObject<T>