共用方式為


SdtContentRun Constructors

Definition

Overloads

SdtContentRun()

Initializes a new instance of the SdtContentRun class.

SdtContentRun(OpenXmlElement[])

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

SdtContentRun(IEnumerable<OpenXmlElement>)

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

SdtContentRun(String)

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

SdtContentRun()

Initializes a new instance of the SdtContentRun class.

public SdtContentRun ();
Public Sub New ()

Applies to

SdtContentRun(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

SdtContentRun(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

SdtContentRun(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to