This documentation is archived and is not being maintained.
StoredQuery::CompareTo Method
Visual Studio 2013
Compares this stored query to the specified instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Parameters
- storedQuery
- Type: Microsoft.TeamFoundation.WorkItemTracking.Client::StoredQuery
The stored query instance with which to compare the specified instance.
Return Value
Type: System::Int32Returns 0 if this stored query and the specified instance are equivalent.
Returns -1 if this stored query is public and the specified instance is private.
Returns 1 if this stored query is private and the specified instance is public.
- 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.
Show: