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