共用方式為


TestResultId.ParentExecId 屬性

取得父測試結果的測試執行 ID。

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

語法

'宣告
Public ReadOnly Property ParentExecId As TestExecId
    Get
public TestExecId ParentExecId { get; }
public:
property TestExecId^ ParentExecId {
    TestExecId^ get ();
}
member ParentExecId : TestExecId
function get ParentExecId () : TestExecId

屬性值

型別:Microsoft.VisualStudio.TestTools.Common.TestExecId
父測試結果的測試執行 ID,但如果相關聯的測試結果沒有任何父測試結果,則為 nullNull 參照 (即 Visual Basic 中的 Nothing)。

.NET Framework 安全性

請參閱

參考

TestResultId 類別

Microsoft.VisualStudio.TestTools.Common 命名空間