共用方式為


Ruby Constructors

Definition

Overloads

Ruby()

Initializes a new instance of the Ruby class.

Ruby(OpenXmlElement[])

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

Ruby(IEnumerable<OpenXmlElement>)

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

Ruby(String)

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

Ruby()

Initializes a new instance of the Ruby class.

public Ruby ();
Public Sub New ()

Applies to

Ruby(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Ruby(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Ruby(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to