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.2822.3845
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