Delen via


WorkspaceVersionSpec.CompareTo Method

This member overrides VersionSpec.CompareTo(VersionSpec).

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
Public Overrides Function CompareTo ( _
    other As VersionSpec _
) As Integer
public override int CompareTo(
    VersionSpec other
)
public:
virtual int CompareTo(
    VersionSpec^ other
) override
abstract CompareTo : 
        other:VersionSpec -> int  
override CompareTo : 
        other:VersionSpec -> int
public override function CompareTo(
    other : VersionSpec
) : int

Parameters

Return Value

Type: System.Int32
Returns Int32.

Implements

IComparable<T>.CompareTo(T)

.NET Framework Security

See Also

Reference

WorkspaceVersionSpec Class

Microsoft.TeamFoundation.VersionControl.Server Namespace