Partager via


TestElement.TestCategories, propriété

Obtient une collection d'éléments de catégorie de test assignés par l'utilisateur à cet élément de test dans l'interface utilisateur.

Espace de noms :  Microsoft.VisualStudio.TestTools.Common
Assembly :  Microsoft.VisualStudio.QualityTools.Common (dans Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

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

Valeur de propriété

Type : Microsoft.VisualStudio.TestTools.Common.TestCategoryItemCollection
Collection d'éléments de catégorie de test.

Implémentations

ITestElement.TestCategories

Sécurité .NET Framework

Voir aussi

Référence

TestElement Classe

Microsoft.VisualStudio.TestTools.Common, espace de noms

TestCategoryItem

TestCategoryItemCollection