共用方式為


CustomXmlRun Constructors

Definition

Overloads

CustomXmlRun()

Initializes a new instance of the CustomXmlRun class.

CustomXmlRun(OpenXmlElement[])

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

CustomXmlRun(IEnumerable<OpenXmlElement>)

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

CustomXmlRun(String)

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

CustomXmlRun()

Initializes a new instance of the CustomXmlRun class.

public CustomXmlRun ();
Public Sub New ()

Applies to

CustomXmlRun(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

CustomXmlRun(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

CustomXmlRun(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to