Export (0) Print
Expand All

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)

static member ReorderVersionSpecs : 
        start:VersionSpec byref * 
        end:VersionSpec byref -> bool

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.

Show:
© 2014 Microsoft