TextBody 构造函数

定义

重载

TextBody()

初始化 TextBody 类的新实例。

TextBody(OpenXmlElement[])

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

TextBody(IEnumerable<OpenXmlElement>)

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

TextBody(String)

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

TextBody()

初始化 TextBody 类的新实例。

public TextBody ();
Public Sub New ()

适用于

TextBody(OpenXmlElement[])

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

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

参数

childElements
OpenXmlElement[]

指定子元素。

适用于

TextBody(IEnumerable<OpenXmlElement>)

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

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

参数

childElements
IEnumerable<OpenXmlElement>

指定子元素。

适用于

TextBody(String)

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

public TextBody (string outerXml);
new DocumentFormat.OpenXml.Drawing.Spreadsheet.TextBody : string -> DocumentFormat.OpenXml.Drawing.Spreadsheet.TextBody
Public Sub New (outerXml As String)

参数

outerXml
String

指定 元素的外部 XML。

适用于