Freigeben über


ColumnFields-Klasse

Column Fields.When the object is serialized out as xml, its qualified name is x:colFields.

Vererbungshierarchie

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

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • Field <x:field>

[ISO/IEC 29500-1 1. Ausgabe]

18.10.1.14 colFields (Column Fields)

Represents the collection of fields that are on the column axis of the PivotTable.

DocumentFormat.OpenXml.Spreadsheet.ColumnFields-im

In the image above, the blue field is a column field.

[Example: In the following SpreadsheetML example, "Year", "Quarter" and "Month" are on the column axis of the PivotTable, in that order.

<colFields count="3">
<field x="14"/>
<field x="15"/>
<field x="16"/>
</colFields>

end example]

Parent Elements

pivotTableDefinition (§18.10.1.73)

Child Elements

Subclause

field (Field)

§18.10.1.29

Attributes

Description

count (Repeated Items Count)

Specifies the number of items in this 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_ColFields) is located in §A.2. 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

ColumnFields-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace