Udostępnij za pośrednictwem


Headers Constructors

Definition

Overloads

Headers()

Initializes a new instance of the Headers class.

Headers(OpenXmlElement[])

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

Headers(IEnumerable<OpenXmlElement>)

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

Headers(String)

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

Headers()

Initializes a new instance of the Headers class.

public Headers ();
Public Sub New ()

Applies to

Headers(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Headers(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Headers(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to