CellType 构造函数

定义

重载

CellType()

初始化 CellType 类的新实例。

CellType(OpenXmlElement[])

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

CellType(IEnumerable<OpenXmlElement>)

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

CellType(String)

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

CellType()

初始化 CellType 类的新实例。

protected CellType ();
Protected Sub New ()

适用于

CellType(OpenXmlElement[])

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

protected CellType (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Spreadsheet.CellType : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.CellType
Protected Sub New (ParamArray childElements As OpenXmlElement())

参数

childElements
OpenXmlElement[]

指定子元素。

适用于

CellType(IEnumerable<OpenXmlElement>)

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

protected CellType (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Spreadsheet.CellType : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.CellType
Protected Sub New (childElements As IEnumerable(Of OpenXmlElement))

参数

childElements
IEnumerable<OpenXmlElement>

指定子元素。

适用于

CellType(String)

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

protected CellType (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.CellType : string -> DocumentFormat.OpenXml.Spreadsheet.CellType
Protected Sub New (outerXml As String)

参数

outerXml
String

指定 元素的外部 XML。

适用于