DocParts Constructors

Definition

Overloads

DocParts()

Initializes a new instance of the DocParts class.

DocParts(OpenXmlElement[])

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

DocParts(IEnumerable<OpenXmlElement>)

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

DocParts(String)

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

DocParts()

Initializes a new instance of the DocParts class.

public DocParts ();
Public Sub New ()

Applies to

DocParts(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

DocParts(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

DocParts(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to