WebControl Constructor (String)
.NET Framework (current version)
Initializes a new instance of the WebControl class using the specified HTML tag.
Assembly: System.Web (in System.Web.dll)
Use this constructor to create and initialize a new instance of the WebControl class using the specified HTML tag.
The following table shows initial property values for an instance of WebControl.
Property | Initial Value |
|---|---|
TagKey | The Unknown enumeration value. |
TagName | The value of the tag parameter. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
