Freigeben über


TagBuilder.MergeAttributes Methode

Definition

Überlädt

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

Führen Sie ein Attributwörterbuch zusammen.

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

Führen Sie ein Attributwörterbuch zusammen.

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

Quelle:
TagBuilder.cs
Quelle:
TagBuilder.cs

Führen Sie ein Attributwörterbuch zusammen.

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

Typparameter

TKey

Der Schlüsseltyp.

TValue

Der Werttyp.

Parameter

attributes
IDictionary<TKey,TValue>

Die Attribute.

Gilt für:

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

Quelle:
TagBuilder.cs
Quelle:
TagBuilder.cs

Führen Sie ein Attributwörterbuch zusammen.

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)

Typparameter

TKey

Der Schlüsseltyp.

TValue

Der Werttyp.

Parameter

attributes
IDictionary<TKey,TValue>

Die Attribute.

replaceExisting
Boolean

Gibt an, ob vorhandene Attribute ersetzt werden sollen.

Gilt für: