共用方式為


SdtContentDocPartList Constructors

Definition

Overloads

SdtContentDocPartList()

Initializes a new instance of the SdtContentDocPartList class.

SdtContentDocPartList(OpenXmlElement[])

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

SdtContentDocPartList(IEnumerable<OpenXmlElement>)

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

SdtContentDocPartList(String)

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

SdtContentDocPartList()

Initializes a new instance of the SdtContentDocPartList class.

public SdtContentDocPartList ();
Public Sub New ()

Applies to

SdtContentDocPartList(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

SdtContentDocPartList(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

SdtContentDocPartList(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to