共用方式為


TestElement.m_testCategories 欄位

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

傳回 TestCategories 屬性值。

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

語法

'宣告
<PersistenceElementNameAttribute("TestCategories")> _
Protected m_testCategories As TestCategoryItemCollection
[PersistenceElementNameAttribute("TestCategories")]
protected TestCategoryItemCollection m_testCategories
[PersistenceElementNameAttribute(L"TestCategories")]
protected:
TestCategoryItemCollection^ m_testCategories
[<PersistenceElementNameAttribute("TestCategories")>]
val mutable m_testCategories: TestCategoryItemCollection
protected var m_testCategories : TestCategoryItemCollection

備註

TestCategories 屬性的值。

.NET Framework 安全性

請參閱

參考

TestElement 類別

Microsoft.VisualStudio.TestTools.Common 命名空間

TestCategories