HtmlAttributeCollectionHasClass Method

Return a value indicating whether the specified class is defined in this collection.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.3013.4544
C#
public bool HasClass(
	string className
)

Parameters

className  String
Name of the class to search for.

Return Value

Boolean
Value indicating whether the specified class is defined in the class attribute of this collection.

See Also