VersionSpec.ReorderVersionSpecs Method
Visual Studio 2012
Swaps two VersionSpec instances if they are out of order.
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: BooleanTrue if the VersionSpec positions were reversed; otherwise, false.
- 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.