SdtBlock Constructors

Definition

Overloads

SdtBlock()

Initializes a new instance of the SdtBlock class.

SdtBlock(OpenXmlElement[])

Initializes a new instance of the SdtBlock class with the specified child elements.

SdtBlock(IEnumerable<OpenXmlElement>)

Initializes a new instance of the SdtBlock class with the specified child elements.

SdtBlock(String)

Initializes a new instance of the SdtBlock class from outer XML.

SdtBlock()

Initializes a new instance of the SdtBlock class.

public SdtBlock ();
Public Sub New ()

Applies to

SdtBlock(OpenXmlElement[])

Initializes a new instance of the SdtBlock class with the specified child elements.

public SdtBlock (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Wordprocessing.SdtBlock : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Wordprocessing.SdtBlock
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

SdtBlock(IEnumerable<OpenXmlElement>)

Initializes a new instance of the SdtBlock class with the specified child elements.

public SdtBlock (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Wordprocessing.SdtBlock : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Wordprocessing.SdtBlock
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

SdtBlock(String)

Initializes a new instance of the SdtBlock class from outer XML.

public SdtBlock (string outerXml);
new DocumentFormat.OpenXml.Wordprocessing.SdtBlock : string -> DocumentFormat.OpenXml.Wordprocessing.SdtBlock
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to