Properties 构造函数

定义

重载

Properties()

初始化 Properties 类的新实例。

Properties(OpenXmlElement[])

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

Properties(IEnumerable<OpenXmlElement>)

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

Properties(String)

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

Properties()

初始化 Properties 类的新实例。

public Properties ();
Public Sub New ()

适用于

Properties(OpenXmlElement[])

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

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

参数

childElements
OpenXmlElement[]

指定子元素。

适用于

Properties(IEnumerable<OpenXmlElement>)

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

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

参数

childElements
IEnumerable<OpenXmlElement>

指定子元素。

适用于

Properties(String)

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

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

参数

outerXml
String

指定 元素的外部 XML。

适用于