Udostępnij za pośrednictwem


Cell Constructors

Definition

Overloads

Cell()

Initializes a new instance of the Cell class.

Cell(OpenXmlElement[])

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

Cell(IEnumerable<OpenXmlElement>)

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

Cell(String)

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

Cell()

Initializes a new instance of the Cell class.

public Cell ();
Public Sub New ()

Applies to

Cell(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Cell(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Cell(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to