TagBuilder.MergeAttributes Method

Definition

Overloads

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

Merge an attribute dictionary.

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

Merge an attribute dictionary.

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

Source:
TagBuilder.cs
Source:
TagBuilder.cs

Merge an attribute dictionary.

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))

Type Parameters

TKey

The key type.

TValue

The value type.

Parameters

attributes
IDictionary<TKey,TValue>

The attributes.

Applies to

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

Source:
TagBuilder.cs
Source:
TagBuilder.cs

Merge an attribute dictionary.

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)

Type Parameters

TKey

The key type.

TValue

The value type.

Parameters

attributes
IDictionary<TKey,TValue>

The attributes.

replaceExisting
Boolean

Whether to replace existing attributes.

Applies to