HtmlAttributeCollectionHasAttribute Method

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

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public bool HasAttribute(
	string attributeName
)

Parameters

attributeName  String
Name of the attribute to search for.

Return Value

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

See Also