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