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