This documentation is archived and is not being maintained.

VersionSpec.Format Method

Formats a server or local path with the version specifier.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public string Format(
	string path
)

Parameters

path
Type: System.String

Server or local path.

Return Value

Type: System.String
Returns a version string which represents the path and version.

Show: