NUnitAsp

HtmlTagTester.HasAttribute Method 

Returns true if this tag has the specified attribute.

public bool HasAttribute(
   string name
);

Parameters

name
The name of the attribute.

Return Value

True if the attribute is present (even if it has no value); false otherwise

See Also

HtmlTagTester Class | NUnit.Extensions.Asp Namespace