HtmlContainerControl 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.
Initializes a new instance of the HtmlContainerControl class.
Overloads
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. |
HtmlContainerControl()
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.
Note
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
HtmlContainerControl(String)
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.
Note
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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per