Share via


Columns Constructors

Definition

Overloads

Columns()

Initializes a new instance of the Columns class.

Columns(OpenXmlElement[])

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

Columns(IEnumerable<OpenXmlElement>)

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

Columns(String)

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

Columns()

Initializes a new instance of the Columns class.

public Columns ();
Public Sub New ()

Applies to

Columns(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Columns(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Columns(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to