Partilhar via


StoredQueryCollection.IndexOf Method

Gets the index of the specified stored query.

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

Syntax

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

Parameters

Return Value

Type: System.Int32
The index of the specified stored query.

.NET Framework Security

See Also

Reference

StoredQueryCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace