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