Header Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Header() |
Initializes a new instance of the Header class. |
Header(OpenXmlElement[]) |
Initializes a new instance of the Header class with the specified child elements. |
Header(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Header class with the specified child elements. |
Header(String) |
Initializes a new instance of the Header class from outer XML. |
Header()
Initializes a new instance of the Header class.
public Header ();
Public Sub New ()
Applies to
Header(OpenXmlElement[])
Initializes a new instance of the Header class with the specified child elements.
public Header (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Spreadsheet.Header : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.Header
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Header(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Header class with the specified child elements.
public Header (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Spreadsheet.Header : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.Header
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Header(String)
Initializes a new instance of the Header class from outer XML.
public Header (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.Header : string -> DocumentFormat.OpenXml.Spreadsheet.Header
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.