HtmlImage Constructor ()

 

Initializes a new instance of the HtmlImage class.

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

public:
HtmlImage()

Use this constructor to create and initialize a new instance of the HtmlImage class.

The following table shows the initial property value for an instance of HtmlImage.

Property

Initial Value

TagName

The "img" literal string.

The following code example illustrates how to create and initialize a new instance of the HtmlImage control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: