NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlGenericControl Constructor

Initializes a new instance of the HtmlGenericControl class.

[Visual Basic]
Public Sub New( _
   ByVal tag As String _
)
[C#]
public HtmlGenericControl(
   string tag
);
[C++]
public: HtmlGenericControl(
   String* tag
);
[JScript]
public function HtmlGenericControl(
   tag : String
);

Parameters

tag
The name of the element for which the instance of this class is created. If this is an empty string, the value is set to SPAN.

Remarks

This constructor sets the TagName property to the provided argument.

See Also

HtmlGenericControl Class | HtmlGenericControl Members | System.Web.UI.HtmlControls Namespace