Workbook 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
Workbook() |
Initializes a new instance of the Workbook class. |
Workbook(OpenXmlElement[]) |
Initializes a new instance of the Workbook class with the specified child elements. |
Workbook(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Workbook class with the specified child elements. |
Workbook(String) |
Initializes a new instance of the Workbook class from outer XML. |
Workbook()
Initializes a new instance of the Workbook class.
public Workbook ();
Public Sub New ()
Applies to
Workbook(OpenXmlElement[])
Initializes a new instance of the Workbook class with the specified child elements.
public Workbook (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Spreadsheet.Workbook : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.Workbook
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Workbook(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Workbook class with the specified child elements.
public Workbook (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Spreadsheet.Workbook : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.Workbook
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Workbook(String)
Initializes a new instance of the Workbook class from outer XML.
public Workbook (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.Workbook : string -> DocumentFormat.OpenXml.Spreadsheet.Workbook
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.