DocProperties 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
DocProperties() |
Initializes a new instance of the DocProperties class. |
DocProperties(OpenXmlElement[]) |
Initializes a new instance of the DocProperties class with the specified child elements. |
DocProperties(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the DocProperties class with the specified child elements. |
DocProperties(String) |
Initializes a new instance of the DocProperties class from outer XML. |
DocProperties()
Initializes a new instance of the DocProperties class.
public DocProperties ();
Public Sub New ()
Applies to
DocProperties(OpenXmlElement[])
Initializes a new instance of the DocProperties class with the specified child elements.
public DocProperties (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Drawing.Wordprocessing.DocProperties : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Drawing.Wordprocessing.DocProperties
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
DocProperties(IEnumerable<OpenXmlElement>)
Initializes a new instance of the DocProperties class with the specified child elements.
public DocProperties (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Drawing.Wordprocessing.DocProperties : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Drawing.Wordprocessing.DocProperties
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
DocProperties(String)
Initializes a new instance of the DocProperties class from outer XML.
public DocProperties (string outerXml);
new DocumentFormat.OpenXml.Drawing.Wordprocessing.DocProperties : string -> DocumentFormat.OpenXml.Drawing.Wordprocessing.DocProperties
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.