Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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:
© 2015 Microsoft