Formats Class

PivotTable Formats.When the object is serialized out as xml, its qualified name is x:formats.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.Formats

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Format <x:format>

[ISO/IEC 29500-1 1st Edition]

18.10.1.36 formats (PivotTable Formats)

Represents the collection of formats applied to PivotTable.

Parent Elements

pivotTableDefinition (§18.10.1.73)

Child Elements

Subclause

format (PivotTable Format)

§18.10.1.35

Attributes

Description

count (Formats Count)

Specifies the number of formats in the collection.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

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

Formats Members

DocumentFormat.OpenXml.Spreadsheet Namespace