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
声明
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
- start
 Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec%
 The VersionSpec that should occur first.
- end
 Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec%
 The VersionSpec that should occur second.
Return Value
Type: System.Boolean
True if the VersionSpec positions were reversed; otherwise, false.
.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.