Aracılığıyla paylaş


CellStyles Constructors

Definition

Overloads

CellStyles()

Initializes a new instance of the CellStyles class.

CellStyles(OpenXmlElement[])

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

CellStyles(IEnumerable<OpenXmlElement>)

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

CellStyles(String)

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

CellStyles()

Initializes a new instance of the CellStyles class.

public CellStyles ();
Public Sub New ()

Applies to

CellStyles(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

CellStyles(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

CellStyles(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to