Share via


Constraint Constructors

Definition

Overloads

Constraint()

Initializes a new instance of the Constraint class.

Constraint(OpenXmlElement[])

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

Constraint(IEnumerable<OpenXmlElement>)

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

Constraint(String)

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

Constraint()

Initializes a new instance of the Constraint class.

public Constraint ();
Public Sub New ()

Applies to

Constraint(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Constraint(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Constraint(String)

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

public Constraint (string outerXml);
new DocumentFormat.OpenXml.Drawing.Diagrams.Constraint : string -> DocumentFormat.OpenXml.Drawing.Diagrams.Constraint
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to