Compartilhar via


TagBuilder.MergeAttributes Método

Definição

Sobrecargas

MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>)

Mesclar um dicionário de atributos.

MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>, Boolean)

Mesclar um dicionário de atributos.

MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>)

Origem:
TagBuilder.cs
Origem:
TagBuilder.cs
Origem:
TagBuilder.cs

Mesclar um dicionário de atributos.

public:
generic <typename TKey, typename TValue>
 void MergeAttributes(System::Collections::Generic::IDictionary<TKey, TValue> ^ attributes);
public void MergeAttributes<TKey,TValue> (System.Collections.Generic.IDictionary<TKey,TValue> attributes);
public void MergeAttributes<TKey,TValue> (System.Collections.Generic.IDictionary<TKey,TValue?> attributes);
member this.MergeAttributes : System.Collections.Generic.IDictionary<'Key, 'Value> -> unit
Public Sub MergeAttributes(Of TKey, TValue) (attributes As IDictionary(Of TKey, TValue))

Parâmetros de tipo

TKey

O tipo principal.

TValue

O tipo de valor.

Parâmetros

attributes
IDictionary<TKey,TValue>

Os atributos.

Aplica-se a

MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>, Boolean)

Origem:
TagBuilder.cs
Origem:
TagBuilder.cs
Origem:
TagBuilder.cs

Mesclar um dicionário de atributos.

public:
generic <typename TKey, typename TValue>
 void MergeAttributes(System::Collections::Generic::IDictionary<TKey, TValue> ^ attributes, bool replaceExisting);
public void MergeAttributes<TKey,TValue> (System.Collections.Generic.IDictionary<TKey,TValue> attributes, bool replaceExisting);
public void MergeAttributes<TKey,TValue> (System.Collections.Generic.IDictionary<TKey,TValue?> attributes, bool replaceExisting);
member this.MergeAttributes : System.Collections.Generic.IDictionary<'Key, 'Value> * bool -> unit
Public Sub MergeAttributes(Of TKey, TValue) (attributes As IDictionary(Of TKey, TValue), replaceExisting As Boolean)

Parâmetros de tipo

TKey

O tipo principal.

TValue

O tipo de valor.

Parâmetros

attributes
IDictionary<TKey,TValue>

Os atributos.

replaceExisting
Boolean

Se os atributos existentes devem ser substituídos.

Aplica-se a