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