共用方式為


TestElement.ParentExecId 屬性

取得或設定父測試項目的 TestExecId

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

語法

'宣告
Public Property ParentExecId As TestExecId
public TestExecId ParentExecId { get; set; }
public:
virtual property TestExecId^ ParentExecId {
    TestExecId^ get () sealed;
    void set (TestExecId^ value) sealed;
}
abstract ParentExecId : TestExecId with get, set
override ParentExecId : TestExecId with get, set
final function get ParentExecId () : TestExecId
final function set ParentExecId (value : TestExecId)

屬性值

型別:Microsoft.VisualStudio.TestTools.Common.TestExecId
父測試項目的 TestExecId (如果可用),否則為 nullnull 參考 (即 Visual Basic 中的 Nothing)。

實作

ITestElement.ParentExecId

.NET Framework 安全性

請參閱

參考

TestElement 類別

Microsoft.VisualStudio.TestTools.Common 命名空間