Share via


TestElement.CategoryId Property

Gets or sets the test category ID for this test element.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Property CategoryId As TestListCategoryId
public TestListCategoryId CategoryId { get; set; }
public:
virtual property TestListCategoryId^ CategoryId {
    TestListCategoryId^ get () sealed;
    void set (TestListCategoryId^ value) sealed;
}
abstract CategoryId : TestListCategoryId with get, set 
override CategoryId : TestListCategoryId with get, set
final function get CategoryId () : TestListCategoryId 
final function set CategoryId (value : TestListCategoryId)

Property Value

Type: Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
The test category ID for this test element.

Implements

ITestElement.CategoryId

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace