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