TestElement.TestCategories – vlastnost
Získá kolekce test kategorie zboží, které je přiřazen tento prvek testu uživatelem v uživatelském rozhraní.
Obor názvů: Microsoft.VisualStudio.TestTools.Common
Sestavení: Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)
Syntaxe
'Deklarace
<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)
Hodnota vlastnosti
Typ: Microsoft.VisualStudio.TestTools.Common.TestCategoryItemCollection
Kolekce položek kategorie test.
Implementuje
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.