OpenXmlCompositeElement 构造函数   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| OpenXmlCompositeElement() | 初始化 OpenXmlCompositeElement 类的新实例。 | 
| OpenXmlCompositeElement(OpenXmlElement[]) | 使用提供的 OpenXmlElement 元素数组初始化 OpenXmlCompositeElement 的新实例。 | 
| OpenXmlCompositeElement(IEnumerable<OpenXmlElement>) | 使用提供的 OpenXmlElement 元素集合初始化 OpenXmlCompositeElement 类的新实例。 | 
| OpenXmlCompositeElement(IEnumerable) | 
		已过时.
	 使用提供的元素集合初始化 OpenXmlCompositeElement 类的新实例。 | 
| OpenXmlCompositeElement(String) | 使用提供的外部 XML 初始化 OpenXmlCompositeElement 类的新实例。 | 
OpenXmlCompositeElement()
初始化 OpenXmlCompositeElement 类的新实例。
protected OpenXmlCompositeElement();Protected Sub New ()适用于
OpenXmlCompositeElement(OpenXmlElement[])
使用提供的 OpenXmlElement 元素数组初始化 OpenXmlCompositeElement 的新实例。
protected OpenXmlCompositeElement(params DocumentFormat.OpenXml.OpenXmlElement[] childrenElements);new DocumentFormat.OpenXml.OpenXmlCompositeElement : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.OpenXmlCompositeElementProtected Sub New (ParamArray childrenElements As OpenXmlElement())参数
- childrenElements
- OpenXmlElement[]
OpenXmlElement 元素的数组。
适用于
OpenXmlCompositeElement(IEnumerable<OpenXmlElement>)
使用提供的 OpenXmlElement 元素集合初始化 OpenXmlCompositeElement 类的新实例。
protected OpenXmlCompositeElement(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childrenElements);new DocumentFormat.OpenXml.OpenXmlCompositeElement : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.OpenXmlCompositeElementProtected Sub New (childrenElements As IEnumerable(Of OpenXmlElement))参数
- childrenElements
- IEnumerable<OpenXmlElement>
OpenXmlElement 元素的集合。
适用于
OpenXmlCompositeElement(IEnumerable)
注意
Should use the generic version of this. This overload will be removed in a future version.
使用提供的元素集合初始化 OpenXmlCompositeElement 类的新实例。
protected OpenXmlCompositeElement(System.Collections.IEnumerable childrenElements);[System.Obsolete("Should use the generic version of this. This overload will be removed in a future version.")]
protected OpenXmlCompositeElement(System.Collections.IEnumerable childrenElements);new DocumentFormat.OpenXml.OpenXmlCompositeElement : System.Collections.IEnumerable -> DocumentFormat.OpenXml.OpenXmlCompositeElement[<System.Obsolete("Should use the generic version of this. This overload will be removed in a future version.")>]
new DocumentFormat.OpenXml.OpenXmlCompositeElement : System.Collections.IEnumerable -> DocumentFormat.OpenXml.OpenXmlCompositeElementProtected Sub New (childrenElements As IEnumerable)参数
- childrenElements
- IEnumerable
元素的集合。
- 属性
适用于
OpenXmlCompositeElement(String)
使用提供的外部 XML 初始化 OpenXmlCompositeElement 类的新实例。
protected OpenXmlCompositeElement(string outerXml);new DocumentFormat.OpenXml.OpenXmlCompositeElement : string -> DocumentFormat.OpenXml.OpenXmlCompositeElementProtected Sub New (outerXml As String)参数
- outerXml
- String
元素的外部 XML。