TestAggregation.MakeLinksRelative 方法
为此测试聚合中的所有链接创建相对于所提供的根路径的路径。
命名空间: Microsoft.VisualStudio.TestTools.Common
程序集: Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
语法
声明
Public Sub MakeLinksRelative ( _
rootPath As String _
)
public void MakeLinksRelative(
string rootPath
)
public:
void MakeLinksRelative(
String^ rootPath
)
member MakeLinksRelative :
rootPath:string -> unit
public function MakeLinksRelative(
rootPath : String
)
参数
- rootPath
类型:System.String
作为所有链接的相对路径的路径。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。