Share via


Issue.AddCategory Method

Applies To: Windows 8.1

Creates and adds a category to the Issue.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As Issue
Dim category As String

instance.AddCategory(category)

Syntax

'Declaration
Public Sub AddCategory ( _
    category As String _
)
public void AddCategory (
    string category
)
public:
void AddCategory (
    String^ category
)
public void AddCategory (
    String category
)
public function AddCategory (
    category : String
)

Parameters

  • category
    The category.

Remarks

The category is the value of element Issue/Categories/Category.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

Issue Class
Issue Members
Microsoft.Assessments.Runtime Namespace