共用方式為


Div Constructors

Definition

Overloads

Div()

Initializes a new instance of the Div class.

Div(OpenXmlElement[])

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

Div(IEnumerable<OpenXmlElement>)

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

Div(String)

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

Div()

Initializes a new instance of the Div class.

public Div ();
Public Sub New ()

Applies to

Div(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Div(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Div(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to