HeadingPairs Class

Heading Pairs.When the object is serialized out as xml, its qualified name is ap:HeadingPairs.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.ExtendedProperties.VectorVariantType
        DocumentFormat.OpenXml.ExtendedProperties.HeadingPairs

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

Syntax

'Declaration
Public Class HeadingPairs _
    Inherits VectorVariantType
'Usage
Dim instance As HeadingPairs
public class HeadingPairs : VectorVariantType

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.VariantTypes.VTVector <vt:vector>

[ISO/IEC 29500-1 1st Edition]

22.2.2.8 HeadingPairs (Heading Pairs)

Heading pairs indicates the grouping of document parts and the number of parts in each group. These parts are not document parts but conceptual representations of document sections.

[Example: A presentation composing of three slides with an applied theme can have the following HeadingPairs representation:

<HeadingPairs>
<vt:vector size="4" baseType="variant">
<vt:variant>
<vt:lpstr>Theme</vt:lpstr>
</vt:variant>
    <vt:variant>
<vt:i4>1</vt:i4>
</vt:variant>
    <vt:variant>
<vt:lpstr>Slide Titles</vt:lpstr>
</vt:variant>
    <vt:variant>
<vt:i4>3</vt:i4>
</vt:variant>
</vt:vector>
</HeadingPairs>

end example]

Parent Elements

Properties (§22.2.2.21)

Child Elements

Subclause

vector (Vector)

§22.4.2.33

[Note: The W3C XML Schema definition of this element’s content model (CT_VectorVariant) is located in §A.6.2. 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.

See Also

Reference

HeadingPairs Members

DocumentFormat.OpenXml.ExtendedProperties Namespace