共用方式為


ITestElement.ProjectRelativePath 屬性

取得測試專案的相對路徑。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
ReadOnly Property ProjectRelativePath As String
string ProjectRelativePath { get; }
property String^ ProjectRelativePath {
    String^ get ();
}
abstract ProjectRelativePath : string with get
function get ProjectRelativePath () : String

屬性值

型別:System.String
測試專案的相對路徑。

.NET Framework 安全性

請參閱

參考

ITestElement 介面

Microsoft.VisualStudio.TestTools.Common 命名空間