Share via


Nary Class

n-ary Operator Function.When the object is serialized out as xml, its qualified name is m:nary.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Math.Nary

Namespace:  DocumentFormat.OpenXml.Math
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(SuperArgument))> _
<ChildElementInfoAttribute(GetType(NaryProperties))> _
<ChildElementInfoAttribute(GetType(Base))> _
<ChildElementInfoAttribute(GetType(SubArgument))> _
Public Class Nary _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Nary
[ChildElementInfoAttribute(typeof(SuperArgument))]
[ChildElementInfoAttribute(typeof(NaryProperties))]
[ChildElementInfoAttribute(typeof(Base))]
[ChildElementInfoAttribute(typeof(SubArgument))]
public class Nary : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • NaryProperties <m:naryPr>

  • SubArgument <m:sub>

  • SuperArgument <m:sup>

  • Base <m:e>

[ISO/IEC 29500-1 1st Edition]

22.1.2.70 nary (n-ary Operator Object)

This element specifies an n-ary object, consisting of an n-ary object, a base (or operand), and optional upper and lower limits. Examples of n-ary objects are: ,,, and. [Example: The example below demonstrates an n-ary object in its proper form and XML representation:

<m:nary>
<m:naryPr>
<m:chr m:val="&#8747;"/>
</m:naryPr>
  <m:sub>
<m:r>
<m:rPr>
<m:scr m:val="roman"/>
<m:sty m:val="p"/>
</m:rPr>
<m:t>0</m:t>
</m:r>
</m:sub>
  <m:sup>
<m:r>
<m:rPr>
<m:scr  m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>1</m:t>
</m:r>
</m:sup>
  <m:e>
<m:r>
<m:t>x</m:t>
</m:r>
<m:box>
<m:boxPr>
<m:diff  m:val="1"/>
</m:boxPr>
      <m:e>
<m:r>
<m:t>dx</m:t>
</m:r>
</m:e>
</m:box>
</m:e>
</m:nary>

end example]

Parent Elements

deg (§22.1.2.26); del (§17.13.5.14); den (§22.1.2.28); e (§22.1.2.32); fName (§22.1.2.37); ins (§17.13.5.18); lim (§22.1.2.52); moveFrom (§17.13.5.22); moveTo (§17.13.5.25); num (§22.1.2.75); oMath (§22.1.2.77); sub (§22.1.2.112); sup (§22.1.2.114)

Child Elements

Subclause

e (Element (Argument))

§22.1.2.32

naryPr (n-ary Properties)

§22.1.2.72

sub (Subscript (Pre-Sub-Superscript))

§22.1.2.112

sup (Superscript (Superscript object))

§22.1.2.114

[Note: The W3C XML Schema definition of this element’s content model (CT_Nary) is located in §A.6.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Nary Members

DocumentFormat.OpenXml.Math Namespace