CategoryCollection::AddItem method

Creates and adds a category to the CategoryCollection.

Syntax

virtual HRESULT AddItem(
  [in] LPCWSTR category
) = 0;

Parameters

category [in]

The category.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

A CategoryCollection object holds data from element Issue/Categories.

A category is the value of an Issue/Categories/Category element.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

CategoryCollection