CssStyleCollection.Remove Method (String)

 

Removes a style item from the CssStyleCollection of a control using the specified style key.

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

member Remove : 
        key:string -> unit

Parameters

key
Type: System.String

The string literal of the style item to remove.

The following example demonstrates how to use the Remove method to programmatically delete a CSS style 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: