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