Share via


PivotField Constructors

Definition

Overloads

PivotField()

Initializes a new instance of the PivotField class.

PivotField(OpenXmlElement[])

Initializes a new instance of the PivotField class with the specified child elements.

PivotField(IEnumerable<OpenXmlElement>)

Initializes a new instance of the PivotField class with the specified child elements.

PivotField(String)

Initializes a new instance of the PivotField class from outer XML.

PivotField()

Initializes a new instance of the PivotField class.

public PivotField ();
Public Sub New ()

Applies to

PivotField(OpenXmlElement[])

Initializes a new instance of the PivotField class with the specified child elements.

public PivotField (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Spreadsheet.PivotField : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.PivotField
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

PivotField(IEnumerable<OpenXmlElement>)

Initializes a new instance of the PivotField class with the specified child elements.

public PivotField (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Spreadsheet.PivotField : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.PivotField
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

PivotField(String)

Initializes a new instance of the PivotField class from outer XML.

public PivotField (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.PivotField : string -> DocumentFormat.OpenXml.Spreadsheet.PivotField
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to