Share via


StoredQueryCollection.Add Method

Adds the specified query to the collection.

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

StoredQueryCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace