다음을 통해 공유


Rule Constructors

Definition

Overloads

Rule()

Initializes a new instance of the Rule class.

Rule(OpenXmlElement[])

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

Rule(IEnumerable<OpenXmlElement>)

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

Rule(String)

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

Rule()

Initializes a new instance of the Rule class.

public Rule ();
Public Sub New ()

Applies to

Rule(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Rule(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Rule(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to