Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Compares this stored query to the specified instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function CompareTo ( _
storedQuery As StoredQuery _
) As Integer
public int CompareTo(
StoredQuery storedQuery
)
public:
int CompareTo(
StoredQuery^ storedQuery
)
member CompareTo :
storedQuery:StoredQuery -> int
public function CompareTo(
storedQuery : StoredQuery
) : int
Parameters
- storedQuery
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.StoredQuery
The stored query instance with which to compare the specified instance.
Return Value
Type: System.Int32
Returns 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.
.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.