Category Class
Entry Categorization.When the object is serialized out as xml, its qualified name is w:category.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Wordprocessing.Category
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(Gallery))> _
<ChildElementInfoAttribute(GetType(Name))> _
Public Class Category _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Category
[ChildElementInfoAttribute(typeof(Gallery))]
[ChildElementInfoAttribute(typeof(Name))]
public class Category : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
Name <w:name>
Gallery <w:gallery>
[ISO/IEC 29500-1 1st Edition]
17.12.3 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.
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.