共用方式為


ForEach Constructors

Definition

Overloads

ForEach()

Initializes a new instance of the ForEach class.

ForEach(OpenXmlElement[])

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

ForEach(IEnumerable<OpenXmlElement>)

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

ForEach(String)

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

ForEach()

Initializes a new instance of the ForEach class.

public ForEach ();
Public Sub New ()

Applies to

ForEach(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ForEach(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ForEach(String)

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

public ForEach (string outerXml);
new DocumentFormat.OpenXml.Drawing.Diagrams.ForEach : string -> DocumentFormat.OpenXml.Drawing.Diagrams.ForEach
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to