HtmlContainerControl Constructor (String^)

 

Initializes a new instance of the HtmlContainerControl class using the specified tag name.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

public:
HtmlContainerControl(
	String^ tag
)

Parameters

tag
Type: System::String^

A string that specifies the tag name of the control.

Use this constructor to create and initialize a new instance of the HtmlContainerControl class using the specified tag.

System_CAPS_noteNote

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.

.NET Framework
Available since 1.1
Return to top
Show: