Export (0) Print
Expand All

VersionSpec.FormatRange Method

Formats a server or local path by using the version range that is 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
)

Parameters

path
Type: System.String
The server or local path.
from
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The start of the version range.
to
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The end of the version range.

Return Value

Type: System.String
A version-specified string that represents the path and version range.

Community Additions

ADD
Show:
© 2015 Microsoft