BuildContainerPath.MakeRelative 方法

将选定 fullPath 是否从 parentPath 启动。 如果是这样,父路径。fullPath 移除,这些 fullPath 的其余部分返回。

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

语法

声明
Public Shared Function MakeRelative ( _
    parentPath As String, _
    fullPath As String _
) As String
public static string MakeRelative(
    string parentPath,
    string fullPath
)

参数

返回值

类型:System.String
返回 String

.NET Framework 安全性

请参阅

参考

BuildContainerPath 类

Microsoft.TeamFoundation.Build.Common 命名空间