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