Share via


Properties Constructors

Definition

Overloads

Properties()

Initializes a new instance of the Properties class.

Properties(OpenXmlElement[])

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

Properties(IEnumerable<OpenXmlElement>)

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

Properties(String)

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

Properties()

Initializes a new instance of the Properties class.

public Properties ();
Public Sub New ()

Applies to

Properties(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Properties(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Properties(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to