SdtContentRun 构造函数

定义

重载

SdtContentRun()

初始化 SdtContentRun 类的新实例。

SdtContentRun(OpenXmlElement[])

使用指定的子元素初始化 SdtContentRun 类的新实例。

SdtContentRun(IEnumerable<OpenXmlElement>)

使用指定的子元素初始化 SdtContentRun 类的新实例。

SdtContentRun(String)

从外部 XML 初始化 SdtContentRun 类的新实例。

SdtContentRun()

初始化 SdtContentRun 类的新实例。

public SdtContentRun ();
Public Sub New ()

适用于

SdtContentRun(OpenXmlElement[])

使用指定的子元素初始化 SdtContentRun 类的新实例。

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())

参数

childElements
OpenXmlElement[]

指定子元素。

适用于

SdtContentRun(IEnumerable<OpenXmlElement>)

使用指定的子元素初始化 SdtContentRun 类的新实例。

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))

参数

childElements
IEnumerable<OpenXmlElement>

指定子元素。

适用于

SdtContentRun(String)

从外部 XML 初始化 SdtContentRun 类的新实例。

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

参数

outerXml
String

指定 元素的外部 XML。

适用于