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