HtmlContainerControl Constructors
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.
Initializes a new instance of the HtmlContainerControl class.
HtmlContainerControl() |
Initializes a new instance of the HtmlContainerControl class using default values. |
HtmlContainerControl(String) |
Initializes a new instance of the HtmlContainerControl class using the specified tag name. |
Initializes a new instance of the HtmlContainerControl class using default values.
public:
HtmlContainerControl();
protected:
HtmlContainerControl();
public HtmlContainerControl();
protected HtmlContainerControl();
Public Sub New ()
Protected Sub New ()
Remarks
Use this constructor to create and initialize a new instance of the HtmlContainerControl class using default values.
Napomena
An instance of this class is not created directly. This constructor is called from the constructor of other HTML control classes to initialize properties defined in this class.
The following table shows initial property values for an instance of HtmlContainerControl.
Property | Initial Value |
---|---|
TagName | The "span" literal string. |
Applies to
.NET Framework 4.8.1 i druge verzije
Proizvod | Verzije |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the HtmlContainerControl class using the specified tag name.
public:
HtmlContainerControl(System::String ^ tag);
public HtmlContainerControl(string tag);
new System.Web.UI.HtmlControls.HtmlContainerControl : string -> System.Web.UI.HtmlControls.HtmlContainerControl
Public Sub New (tag As String)
Parameters
- tag
- String
A string that specifies the tag name of the control.
Remarks
Use this constructor to create and initialize a new instance of the HtmlContainerControl class using the specified tag.
Napomena
An instance of this class is not created directly. This constructor is called from the constructor of other HTML control classes to initialize properties defined in this class.
The following table shows initial property values for an instance of HtmlContainerControl.
Property | Initial Value |
---|---|
TagName | The value specified by the tag parameter. |
Applies to
.NET Framework 4.8.1 i druge verzije
Proizvod | Verzije |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: