Share via


TagBuilder.MergeAttribute Method

Include Protected Members
Include Inherited Members

Adds an attribute to the tag.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method MergeAttribute(String, String) Adds an attribute to the tag by using the specified key/value pair.
Public method MergeAttribute(String, String, Boolean) Adds an attribute to the tag by using the specified key/value pair.

Top

See Also

Reference

TagBuilder Class

System.Web.Mvc Namespace