CommonBehavior 构造函数

定义

重载

CommonBehavior()

初始化 CommonBehavior 类的新实例。

CommonBehavior(OpenXmlElement[])

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

CommonBehavior(IEnumerable<OpenXmlElement>)

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

CommonBehavior(String)

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

CommonBehavior()

初始化 CommonBehavior 类的新实例。

public CommonBehavior ();
Public Sub New ()

适用于

CommonBehavior(OpenXmlElement[])

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

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

参数

childElements
OpenXmlElement[]

指定子元素。

适用于

CommonBehavior(IEnumerable<OpenXmlElement>)

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

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

参数

childElements
IEnumerable<OpenXmlElement>

指定子元素。

适用于

CommonBehavior(String)

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

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

参数

outerXml
String

指定 元素的外部 XML。

适用于