Freigeben über


Category-Klasse

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

Vererbungshierarchie

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

Hinweise

The following table lists the possible child types:

  • Name <w:name>

  • Gallery <w:gallery>

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Category-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace