ITestElement.TestCategories 属性

获取用户界面中由用户分配给此测试元素的测试类别项的集合。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

声明
ReadOnly Property TestCategories As TestCategoryItemCollection
    Get
TestCategoryItemCollection TestCategories { get; }
property TestCategoryItemCollection^ TestCategories {
    TestCategoryItemCollection^ get ();
}
abstract TestCategories : TestCategoryItemCollection
function get TestCategories () : TestCategoryItemCollection

属性值

类型:Microsoft.VisualStudio.TestTools.Common.TestCategoryItemCollection
测试类别项的集合。

.NET Framework 安全性

请参见

参考

ITestElement 接口

Microsoft.VisualStudio.TestTools.Common 命名空间

TestCategoryItem

TestCategoryItemCollection