Settings 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
Settings() |
Initializes a new instance of the Settings class. |
Settings(OpenXmlElement[]) |
Initializes a new instance of the Settings class with the specified child elements. |
Settings(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Settings class with the specified child elements. |
Settings(String) |
Initializes a new instance of the Settings class from outer XML. |
Settings()
Initializes a new instance of the Settings class.
public Settings ();
Public Sub New ()
Applies to
Settings(OpenXmlElement[])
Initializes a new instance of the Settings class with the specified child elements.
public Settings (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Wordprocessing.Settings : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Wordprocessing.Settings
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Settings(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Settings class with the specified child elements.
public Settings (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Wordprocessing.Settings : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Wordprocessing.Settings
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Settings(String)
Initializes a new instance of the Settings class from outer XML.
public Settings (string outerXml);
new DocumentFormat.OpenXml.Wordprocessing.Settings : string -> DocumentFormat.OpenXml.Wordprocessing.Settings
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.