This documentation is archived and is not being maintained.

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)

public:
static bool ReorderVersionSpecs(
	VersionSpec^% start, 
	VersionSpec^% end
)

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: