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 TestCategoryId
'Usage
Dim instance As TestElement 
Dim value As TestCategoryId 

value = instance.CategoryId

instance.CategoryId = value
public TestCategoryId CategoryId { get; set; }
public:
virtual property TestCategoryId^ CategoryId {
    TestCategoryId^ get () sealed;
    void set (TestCategoryId^ value) sealed;
}
public final function get CategoryId () : TestCategoryId 
public final function set CategoryId (value : TestCategoryId)

Property Value

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

Implements

ITestElement.CategoryId

.NET Framework Security

See Also

Reference

TestElement Class

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace