TagBuilder.MergeAttributes Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>) |
Fusionner un dictionnaire d’attributs. |
MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>, Boolean) |
Fusionner un dictionnaire d’attributs. |
MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>)
- Source:
- TagBuilder.cs
- Source:
- TagBuilder.cs
- Source:
- TagBuilder.cs
Fusionner un dictionnaire d’attributs.
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))
Paramètres de type
- TKey
Type de clé.
- TValue
Type de valeur.
Paramètres
- attributes
- IDictionary<TKey,TValue>
Attributs.
S’applique à
MergeAttributes<TKey,TValue>(IDictionary<TKey,TValue>, Boolean)
- Source:
- TagBuilder.cs
- Source:
- TagBuilder.cs
- Source:
- TagBuilder.cs
Fusionner un dictionnaire d’attributs.
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)
Paramètres de type
- TKey
Type de clé.
- TValue
Type de valeur.
Paramètres
- attributes
- IDictionary<TKey,TValue>
Attributs.
- replaceExisting
- Boolean
Indique s’il faut remplacer les attributs existants.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour