Freigeben über


CustomXmlProperties-Klasse

Custom XML Element Properties.When the object is serialized out as xml, its qualified name is w:customXmlPr.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Wordprocessing.CustomXmlProperties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(CustomXmlPlaceholder))> _
<ChildElementInfoAttribute(GetType(CustomXmlAttribute))> _
Public Class CustomXmlProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As CustomXmlProperties
[ChildElementInfoAttribute(typeof(CustomXmlPlaceholder))]
[ChildElementInfoAttribute(typeof(CustomXmlAttribute))]
public class CustomXmlProperties : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • CustomXmlPlaceholder <w:placeholder>

  • CustomXmlAttribute <w:attr>

[ISO/IEC 29500-1 1. Ausgabe]

17.5.1.7 customXmlPr (Custom XML Element Properties)

This element specifies the set of properties which shall be applied to the parent custom XML element.

[Example: Consider a custom XML element with the following properties specified:

<w:customXmlPr>
<w:placeholder w:val="[Fill in your name]"/>
<w:attr w:name="status" w:val="draft"/>
</w:customXmlPr>

This custom XML element specifies two properties: the presence of placeholder text via the placeholder element (§17.5.1.8) and a single custom XML attribute via the attr element (§17.5.1.1). end example]

Parent Elements

customXml (§17.5.1.6); customXml (§17.5.1.4); customXml (§17.5.1.5); customXml (§17.5.1.3)

Child Elements

Subclause

attr (Custom XML Attribute)

§17.5.1.1

placeholder (Custom XML Element Placeholder Text)

§17.5.1.8

[Note: The W3C XML Schema definition of this element's content model (CT_CustomXmlPr) 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

CustomXmlProperties-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace