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)

'Declaration
Public Shared Function ReorderVersionSpecs ( _
	ByRef start As VersionSpec, _
	ByRef end As VersionSpec _
) As 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.

Show: