CssStyleCollection.Clear Method ()

 

Removes all style items from the CssStyleCollection object.

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

member Clear : unit -> unit

The following example demonstrates how to use the Clear method to programmatically delete all CSS styles from an HtmlSelect control.

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

.NET Framework
Available since 1.1
Return to top
Show: