Share via


Condition Constructors

Definition

Overloads

Condition()

Initializes a new instance of the Condition class.

Condition(OpenXmlElement[])

Initializes a new instance of the Condition class with the specified child elements.

Condition(IEnumerable<OpenXmlElement>)

Initializes a new instance of the Condition class with the specified child elements.

Condition(String)

Initializes a new instance of the Condition class from outer XML.

Condition()

Initializes a new instance of the Condition class.

public Condition ();
Public Sub New ()

Applies to

Condition(OpenXmlElement[])

Initializes a new instance of the Condition class with the specified child elements.

public Condition (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Presentation.Condition : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Presentation.Condition
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Condition(IEnumerable<OpenXmlElement>)

Initializes a new instance of the Condition class with the specified child elements.

public Condition (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Presentation.Condition : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Presentation.Condition
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Condition(String)

Initializes a new instance of the Condition class from outer XML.

public Condition (string outerXml);
new DocumentFormat.OpenXml.Presentation.Condition : string -> DocumentFormat.OpenXml.Presentation.Condition
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to