共用方式為


DocPartBody Constructors

Definition

Overloads

DocPartBody()

Initializes a new instance of the DocPartBody class.

DocPartBody(OpenXmlElement[])

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

DocPartBody(IEnumerable<OpenXmlElement>)

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

DocPartBody(String)

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

DocPartBody()

Initializes a new instance of the DocPartBody class.

public DocPartBody ();
Public Sub New ()

Applies to

DocPartBody(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

DocPartBody(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

DocPartBody(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to