AttributeCollection.Clear Method ()
.NET Framework (current version)
Removes all attributes from a server control's AttributeCollection object.
Assembly: System.Web (in System.Web.dll)
The following example shows how to programmatically remove all attributes from an HTML server control's AttributeCollection object.
.NET Framework
Available since 1.1
Available since 1.1
Show: