Scenario Constructors

Definition

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.

Applies to