Algorithm 构造函数

定义

重载

Algorithm()

初始化 Algorithm 类的新实例。

Algorithm(OpenXmlElement[])

使用指定的子元素初始化 Algorithm 类的新实例。

Algorithm(IEnumerable<OpenXmlElement>)

使用指定的子元素初始化 Algorithm 类的新实例。

Algorithm(String)

从外部 XML 初始化 Algorithm 类的新实例。

Algorithm()

初始化 Algorithm 类的新实例。

public Algorithm ();
Public Sub New ()

适用于

Algorithm(OpenXmlElement[])

使用指定的子元素初始化 Algorithm 类的新实例。

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

参数

childElements
OpenXmlElement[]

指定子元素。

适用于

Algorithm(IEnumerable<OpenXmlElement>)

使用指定的子元素初始化 Algorithm 类的新实例。

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

参数

childElements
IEnumerable<OpenXmlElement>

指定子元素。

适用于

Algorithm(String)

从外部 XML 初始化 Algorithm 类的新实例。

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

参数

outerXml
String

指定 元素的外部 XML。

适用于