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