Category class

Office 2013 and later

Entry Categorization. When the object is serialized out as xml, its qualified name is w:category.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class Category : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

category (Entry Categorization)

This element specifies the categorization for the parent glossary document entry. This categorization shall not imply any behaviors around the entry, and is only used to organize the set of glossary document entries within an application or user interface (i.e. to disambiguate between two entries with the same entry name (§17.12.13)).

[Example: Consider the following WordprocessingML fragment for the properties of a single glossary document entry:

    …  </w:category>

The category element specifies the categorization applied to the current entry, for the purposes of classification or user interface sorting, for example. end example]

Parent Elements

docPartPr (§17.12.7)

Child Elements


gallery (Gallery Associated With Entry)


name (Category Associated With Entry)


[Note: The W3C XML Schema definition of this element’s content model (CT_DocPartCategory) is located in §A.1. end note]

© ISO/IEC29500: 2008.

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