次の方法で共有


TestElement.TestCategories Property

Definition

Gets a collection of test category items that is assigned to this test element by the user in the user interface.

public:
 property Microsoft::VisualStudio::TestTools::Common::TestCategoryItemCollection ^ TestCategories { Microsoft::VisualStudio::TestTools::Common::TestCategoryItemCollection ^ get(); void set(Microsoft::VisualStudio::TestTools::Common::TestCategoryItemCollection ^ value); };
[Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_TestCategory_PropertyDescription")]
[Microsoft.VisualStudio.TestTools.Common.PropertyWindow(Microsoft.VisualStudio.TestTools.Common.PropertyEditorType.TestCategoryPicker, Microsoft.VisualStudio.TestTools.Common.PropertyConverterType.TestCategoryConverter)]
[Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_TestCategory")]
[Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{2C4323CE-250D-448b-844A-FB570477F324}")]
[System.ComponentModel.DefaultValue(null)]
public Microsoft.VisualStudio.TestTools.Common.TestCategoryItemCollection TestCategories { get; set; }
[<Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_TestCategory_PropertyDescription")>]
[<Microsoft.VisualStudio.TestTools.Common.PropertyWindow(Microsoft.VisualStudio.TestTools.Common.PropertyEditorType.TestCategoryPicker, Microsoft.VisualStudio.TestTools.Common.PropertyConverterType.TestCategoryConverter)>]
[<Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_TestCategory")>]
[<Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{2C4323CE-250D-448b-844A-FB570477F324}")>]
[<System.ComponentModel.DefaultValue(null)>]
member this.TestCategories : Microsoft.VisualStudio.TestTools.Common.TestCategoryItemCollection with get, set
Public Property TestCategories As TestCategoryItemCollection

Property Value

A collection of test category items.

Attributes

Applies to