共用方式為


TestResultDetail.TestElements 屬性

取得測試項目的字典。

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

語法

'宣告
Public ReadOnly Property TestElements As Dictionary(Of TestId, ITestElement)
public Dictionary<TestId, ITestElement> TestElements { get; }
public:
property Dictionary<TestId^, ITestElement^>^ TestElements {
    Dictionary<TestId^, ITestElement^>^ get ();
}
member TestElements : Dictionary<TestId, ITestElement> with get
function get TestElements () : Dictionary<TestId, ITestElement>

屬性值

型別:System.Collections.Generic.Dictionary<TestId, ITestElement>
測試項目的字典。

.NET Framework 安全性

請參閱

參考

TestResultDetail 類別

Microsoft.VisualStudio.TestTools.Common 命名空間