VersionSpec.Format Method
Formats a path by using the version specifier.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'宣告
Public Function Format ( _
path As String _
) As String
public string Format(
string path
)
public:
String^ Format(
String^ path
)
member Format :
path:string -> string
public function Format(
path : String
) : String
Parameters
- path
Type: System.String
The server or local path.
Return Value
Type: System.String
A version-specified string that represents the path and version.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.