TestElement.TestCategories 属性

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

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

语法

声明
<PropertyWindowAttribute(PropertyEditorType.TestCategoryPicker, PropertyConverterType.TestCategoryConverter)> _
<UserVisiblePropertyAttribute("{2C4323CE-250D-448b-844A-FB570477F324}")> _
Public Property TestCategories As TestCategoryItemCollection
[PropertyWindowAttribute(PropertyEditorType.TestCategoryPicker, PropertyConverterType.TestCategoryConverter)]
[UserVisiblePropertyAttribute("{2C4323CE-250D-448b-844A-FB570477F324}")]
public TestCategoryItemCollection TestCategories { get; set; }
[PropertyWindowAttribute(PropertyEditorType::TestCategoryPicker, PropertyConverterType::TestCategoryConverter)]
[UserVisiblePropertyAttribute(L"{2C4323CE-250D-448b-844A-FB570477F324}")]
public:
virtual property TestCategoryItemCollection^ TestCategories {
    TestCategoryItemCollection^ get () sealed;
    void set (TestCategoryItemCollection^ value) sealed;
}
[<PropertyWindowAttribute(PropertyEditorType.TestCategoryPicker, PropertyConverterType.TestCategoryConverter)>]
[<UserVisiblePropertyAttribute("{2C4323CE-250D-448b-844A-FB570477F324}")>]
abstract TestCategories : TestCategoryItemCollection with get, set
[<PropertyWindowAttribute(PropertyEditorType.TestCategoryPicker, PropertyConverterType.TestCategoryConverter)>]
[<UserVisiblePropertyAttribute("{2C4323CE-250D-448b-844A-FB570477F324}")>]
override TestCategories : TestCategoryItemCollection with get, set
final function get TestCategories () : TestCategoryItemCollection 
final function set TestCategories (value : TestCategoryItemCollection)

属性值

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

实现

ITestElement.TestCategories

.NET Framework 安全性

请参阅

参考

TestElement 类

Microsoft.VisualStudio.TestTools.Common 命名空间

TestCategoryItem

TestCategoryItemCollection