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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.