共用方式為


SdtRun Constructors

Definition

Overloads

SdtRun()

Initializes a new instance of the SdtRun class.

SdtRun(OpenXmlElement[])

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

SdtRun(IEnumerable<OpenXmlElement>)

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

SdtRun(String)

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

SdtRun()

Initializes a new instance of the SdtRun class.

public SdtRun ();
Public Sub New ()

Applies to

SdtRun(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

SdtRun(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

SdtRun(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to