TagBuilder.MergeAttributes(Of TKey, TValue) Method (IDictionary(Of TKey, TValue))

Visual Studio 2010

Adds an attribute to the specified collection of attributes for the tag.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public Sub MergeAttributes(Of TKey, TValue) ( _
	attributes As IDictionary(Of TKey, TValue) _
)

Type Parameters

TKey

The type of the key.

TValue

The type of the value.

Parameters

attributes
Type: System.Collections.Generic.IDictionary(Of TKey, TValue)
The attributes.

Community Additions

ADD
Show: