TagBuilder.MergeAttributes Method

Include Protected Members
Include Inherited Members

Adds new attributes or replaces existing attributes in the attribute dictionary.

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 MergeAttributes<TKey, TValue>(IDictionary<TKey, TValue>) Adds new attributes to the tag.
Public method MergeAttributes<TKey, TValue>(IDictionary<TKey, TValue>, Boolean) Adds new attributes or optionally replaces existing attributes in the tag.

Top

See Also

Reference

TagBuilder Class

System.Web.Mvc Namespace