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 two workspace objects, comparing first the repository URLs, and then the workspace names, and finally the owners.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Private Function CompareTo ( _
obj As Object _
) As Integer Implements IComparable.CompareTo
int IComparable.CompareTo(
Object obj
)
private:
virtual int CompareTo(
Object^ obj
) sealed = IComparable::CompareTo
private abstract CompareTo :
obj:Object -> int
private override CompareTo :
obj:Object -> int
JScript does not support explicit interface implementations.
Parameters
obj
Type: System.ObjectThe workspace to which this workspace will be compared.
Return Value
Type: System.Int32
-1, 0, 1 for this workspace being less than, equal to, or greater than the specified workspace, respectively.
Implements
.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.