AttributeCollection.Clear Method ()

 

Removes all attributes from a server control's AttributeCollection object.

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

member Clear : unit -> unit

The following example shows how to programmatically remove all attributes from an HTML server control's AttributeCollection object.

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

.NET Framework
Available since 1.1
Return to top
Show: