Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the WebControl class that represents a Span HTML tag.
[Visual Basic] Protected Sub New() [C#] protected WebControl(); [C++] protected: WebControl(); [JScript] protected function WebControl();
Remarks
This constructor is used to initialize a new instance of the WebControl class that represents a Span HTML element.
The following table shows the initial property value for an instance of WebControl.
| Property | Initial Value |
|---|---|
| TagKey | The HtmlTextWriterTag.Span enumeration value. |
Note This constructor is not called directly. Instead, it is often called by the constructor of a derived class to initialize the TagKey property to the HtmlTextWriterTag.Span enumeration value.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
WebControl Class | WebControl Members | System.Web.UI.WebControls Namespace | WebControl Constructor Overload List | System.Web.UI.HtmlTextWriterTag | TagKey
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.