Share via


RubyContent Constructors

Definition

Overloads

RubyContent()

Initializes a new instance of the RubyContent class.

RubyContent(OpenXmlElement[])

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

RubyContent(IEnumerable<OpenXmlElement>)

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

RubyContent(String)

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

RubyContent()

Initializes a new instance of the RubyContent class.

public RubyContent ();
Public Sub New ()

Applies to

RubyContent(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

RubyContent(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

RubyContent(String)

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

public RubyContent (string outerXml);
new DocumentFormat.OpenXml.Wordprocessing.RubyContent : string -> DocumentFormat.OpenXml.Wordprocessing.RubyContent
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to