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
'Dichiarazione
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
- storedQuery
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.StoredQuery
The query to store.
Return Value
Type: System.Int32
The index of the added stored query.
.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.