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 version specs. Sorts by type name followed by version data.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Overridable Function CompareTo ( _
other As VersionSpec _
) As Integer
public virtual int CompareTo(
VersionSpec other
)
public:
virtual int CompareTo(
VersionSpec^ other
)
abstract CompareTo :
other:VersionSpec -> int
override CompareTo :
other:VersionSpec -> int
public function CompareTo(
other : VersionSpec
) : int
Parameters
Return Value
Type: System.Int32
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.