HtmlAttributeCollectionRemoveStyle Method

Remove the specified style from the style attribute within the caller's collection.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static void RemoveStyle(
	HtmlAttributeCollection attributes,
	string styleName
)

Parameters

attributes  HtmlAttributeCollection
Reference to the collection of attributes within which to find the style item.
styleName  String
Name of the style to remove.

See Also