Udostępnij za pośrednictwem


SingleXmlCell Constructors

Definition

Overloads

SingleXmlCell()

Initializes a new instance of the SingleXmlCell class.

SingleXmlCell(OpenXmlElement[])

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

SingleXmlCell(IEnumerable<OpenXmlElement>)

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

SingleXmlCell(String)

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

SingleXmlCell()

Initializes a new instance of the SingleXmlCell class.

public SingleXmlCell ();
Public Sub New ()

Applies to

SingleXmlCell(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

SingleXmlCell(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

SingleXmlCell(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to