Share via


ITestElement.CategoryId Property

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

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

Syntax

'Declaration
Property CategoryId As TestCategoryId
'Usage
Dim instance As ITestElement 
Dim value As TestCategoryId 

value = instance.CategoryId

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

Property Value

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

.NET Framework Security

See Also

Reference

ITestElement Interface

ITestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace

TestListCategoryId