ReorderVersionSpecs Method

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(
	ref VersionSpec start,
	ref 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:
© 2016 Microsoft