FormatRange Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

VersionSpec.FormatRange Method

Formats a server or local path with the version range specified.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public static string FormatRange (
	string path,
	VersionSpec from,
	VersionSpec to
public static String FormatRange (
	String path, 
	VersionSpec from, 
	VersionSpec to
public static function FormatRange (
	path : String, 
	from : VersionSpec, 
	to : VersionSpec
) : String



Server or local path.


The start of the version range.


End of the version range.

Return Value

Returns a version string which represents the path and version range.
© 2016 Microsoft