TestElement.TestCategories Property
Gets a collection of test category items that is assigned to this test element by the user in the user interface.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<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)
Property Value
Type: Microsoft.VisualStudio.TestTools.Common.TestCategoryItemCollection
A collection of test category items.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.