共用方式為


Captions Constructors

Definition

Overloads

Captions()

Initializes a new instance of the Captions class.

Captions(OpenXmlElement[])

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

Captions(IEnumerable<OpenXmlElement>)

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

Captions(String)

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

Captions()

Initializes a new instance of the Captions class.

public Captions ();
Public Sub New ()

Applies to

Captions(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Captions(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Captions(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to