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