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