DocPart DocPart DocPart Constructors

Definition

Overloads

DocPart() DocPart()

Initializes a new instance of the DocPart class.

DocPart(OpenXmlElement[]) DocPart(OpenXmlElement[]) DocPart(OpenXmlElement[])

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

DocPart(IEnumerable<OpenXmlElement>) DocPart(IEnumerable<OpenXmlElement>) DocPart(IEnumerable<OpenXmlElement>)

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

DocPart(String) DocPart(String) DocPart(String)

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

DocPart() DocPart()

Initializes a new instance of the DocPart class.

public DocPart ();
Public Sub New ()

DocPart(OpenXmlElement[]) DocPart(OpenXmlElement[]) DocPart(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

DocPart(IEnumerable<OpenXmlElement>) DocPart(IEnumerable<OpenXmlElement>) DocPart(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

DocPart(String) DocPart(String) DocPart(String)

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

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

Parameters

outerXml
String String String

Specifies the outer XML of the element.

Applies to