共用方式為


DateVersionSpec.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

'宣告
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

Implements

IComparable<T>.CompareTo(T)

.NET Framework Security

See Also

Reference

DateVersionSpec Class

Microsoft.TeamFoundation.VersionControl.Server Namespace