Export (0) Print
Expand All

Category class

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)

[ChildElementInfoAttribute(typeof(Name))]
[ChildElementInfoAttribute(typeof(Gallery))]
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:docPartPr>
  <w:category>
    …  </w:category>
  …</w:docPartPr>

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

Subclause

gallery (Gallery Associated With Entry)

§17.12.9

name (Category Associated With Entry)

§17.12.12

[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.
Show:
© 2015 Microsoft