VersionControlPath.GetFullPath 方法 (String, PathLength)

教规本地化指定的项规范并返回该字符串。 这将使操作 (如移除。“s,转换\为/等。它引发 InvalidPathException,如果项目为空字符串,包含无效字符包含嵌入美元符号 (通配符不被视为非法此选项),或太长。

命名空间:  Microsoft.TeamFoundation.VersionControl.Common
程序集:  Microsoft.TeamFoundation.VersionControl.Common(在 Microsoft.TeamFoundation.VersionControl.Common.dll 中)

语法

声明
Public Shared Function GetFullPath ( _
    item As String, _
    maxPathLength As PathLength _
) As String
public static string GetFullPath(
    string item,
    PathLength maxPathLength
)

参数

返回值

类型:System.String
项目的规范字符串窗体。

.NET Framework 安全性

请参阅

参考

VersionControlPath 类

GetFullPath 重载

Microsoft.TeamFoundation.VersionControl.Common 命名空间