VersionSpec.ReorderVersionSpecs Method

Swaps two VersionSpec instances if they are out of order.

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

Syntax

'Declaration
Public Shared Function ReorderVersionSpecs ( _
    ByRef start As VersionSpec, _
    ByRef end As VersionSpec _
) As Boolean
public static bool ReorderVersionSpecs(
    ref VersionSpec start,
    ref VersionSpec end
)
public:
static bool ReorderVersionSpecs(
    VersionSpec^% start, 
    VersionSpec^% end
)
static member ReorderVersionSpecs : 
        start:VersionSpec byref * 
        end:VersionSpec byref -> bool
public static function ReorderVersionSpecs(
    start : VersionSpec, 
    end : VersionSpec
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the VersionSpec positions were reversed; otherwise, false.

.NET Framework Security

See Also

Reference

VersionSpec Class

Microsoft.TeamFoundation.VersionControl.Client Namespace