Share via


CategoryCollection.AddItem Method

Applies To: Windows 8.1

Creates and adds a category to the CategoryCollection.

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

Usage

'Usage
Dim instance As CategoryCollection
Dim category As String

instance.AddItem(category)

Syntax

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

Parameters

  • category
    The 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

CategoryCollection Class
CategoryCollection Members
Microsoft.Assessments.Runtime Namespace