将选定 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
)
参数
- parentPath
类型:System.String
父生成容器路径
- fullPath
类型:System.String
完整生成容器路径
返回值
类型:System.String
返回 String。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。