DocPartTypes Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DocPartTypes() |
Initializes a new instance of the DocPartTypes class. |
DocPartTypes(OpenXmlElement[]) |
Initializes a new instance of the DocPartTypes class with the specified child elements. |
DocPartTypes(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the DocPartTypes class with the specified child elements. |
DocPartTypes(String) |
Initializes a new instance of the DocPartTypes class from outer XML. |
DocPartTypes()
Initializes a new instance of the DocPartTypes class.
public DocPartTypes ();
Public Sub New ()
Applies to
DocPartTypes(OpenXmlElement[])
Initializes a new instance of the DocPartTypes class with the specified child elements.
public DocPartTypes (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Wordprocessing.DocPartTypes : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Wordprocessing.DocPartTypes
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
DocPartTypes(IEnumerable<OpenXmlElement>)
Initializes a new instance of the DocPartTypes class with the specified child elements.
public DocPartTypes (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Wordprocessing.DocPartTypes : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Wordprocessing.DocPartTypes
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
DocPartTypes(String)
Initializes a new instance of the DocPartTypes class from outer XML.
public DocPartTypes (string outerXml);
new DocumentFormat.OpenXml.Wordprocessing.DocPartTypes : string -> DocumentFormat.OpenXml.Wordprocessing.DocPartTypes
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.