CustomXmlProperties Constructors  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| CustomXmlProperties() | Initializes a new instance of the CustomXmlProperties class. | 
| CustomXmlProperties(OpenXmlElement[]) | Initializes a new instance of the CustomXmlProperties class with the specified child elements. | 
| CustomXmlProperties(IEnumerable<OpenXmlElement>) | Initializes a new instance of the CustomXmlProperties class with the specified child elements. | 
| CustomXmlProperties(String) | Initializes a new instance of the CustomXmlProperties class from outer XML. | 
CustomXmlProperties()
Initializes a new instance of the CustomXmlProperties class.
public CustomXmlProperties();Public Sub New ()Applies to
CustomXmlProperties(OpenXmlElement[])
Initializes a new instance of the CustomXmlProperties class with the specified child elements.
public CustomXmlProperties(params DocumentFormat.OpenXml.OpenXmlElement[] childElements);new DocumentFormat.OpenXml.Wordprocessing.CustomXmlProperties : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Wordprocessing.CustomXmlPropertiesPublic Sub New (ParamArray childElements As OpenXmlElement())Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
CustomXmlProperties(IEnumerable<OpenXmlElement>)
Initializes a new instance of the CustomXmlProperties class with the specified child elements.
public CustomXmlProperties(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);new DocumentFormat.OpenXml.Wordprocessing.CustomXmlProperties : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Wordprocessing.CustomXmlPropertiesPublic Sub New (childElements As IEnumerable(Of OpenXmlElement))Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
CustomXmlProperties(String)
Initializes a new instance of the CustomXmlProperties class from outer XML.
public CustomXmlProperties(string outerXml);new DocumentFormat.OpenXml.Wordprocessing.CustomXmlProperties : string -> DocumentFormat.OpenXml.Wordprocessing.CustomXmlPropertiesPublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.