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