共用方式為


Fill Constructors

Definition

Overloads

Fill()

Initializes a new instance of the Fill class.

Fill(OpenXmlElement[])

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

Fill(IEnumerable<OpenXmlElement>)

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

Fill(String)

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

Fill()

Initializes a new instance of the Fill class.

public Fill ();
Public Sub New ()

Applies to

Fill(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Fill(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Fill(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to