LanguageSpecificStringDictionary.Add Méthode

Définition

Ajoute une paire clé/valeur à LanguageSpecificStringDictionary.Adds a key/value pair to the LanguageSpecificStringDictionary.

Surcharges

Add(KeyValuePair<XmlLanguage,String>)

Ajoute une paire clé/valeur à LanguageSpecificStringDictionary.Adds a key/value pair to the LanguageSpecificStringDictionary.

Add(XmlLanguage, String)

Ajoute un langage et une chaîne associée au LanguageSpecificStringDictionary.Adds a language and associated string to the LanguageSpecificStringDictionary.

Add(KeyValuePair<XmlLanguage,String>)

Important

Cette API n’est pas conforme CLS.

Ajoute une paire clé/valeur à LanguageSpecificStringDictionary.Adds a key/value pair to the LanguageSpecificStringDictionary.

public:
 virtual void Add(System::Collections::Generic::KeyValuePair<System::Windows::Markup::XmlLanguage ^, System::String ^> item);
[System.CLSCompliant(false)]
public void Add (System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage,string> item);
abstract member Add : System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage, string> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage, string> -> unit
Public Sub Add (item As KeyValuePair(Of XmlLanguage, String))

Paramètres

item
KeyValuePair<XmlLanguage,String>

Tableau des paires clé/valeur.An array of key/value pairs. La clé est un objet de type XmlLanguage.The key is an object of type XmlLanguage. La valeur est une chaîne associée.The value is an associated string.

Implémente

Attributs

Add(XmlLanguage, String)

Ajoute un langage et une chaîne associée au LanguageSpecificStringDictionary.Adds a language and associated string to the LanguageSpecificStringDictionary.

public:
 virtual void Add(System::Windows::Markup::XmlLanguage ^ key, System::String ^ value);
public void Add (System.Windows.Markup.XmlLanguage key, string value);
abstract member Add : System.Windows.Markup.XmlLanguage * string -> unit
override this.Add : System.Windows.Markup.XmlLanguage * string -> unit
Public Sub Add (key As XmlLanguage, value As String)

Paramètres

key
XmlLanguage

Valeur de type XmlLanguage.A value of type XmlLanguage.

value
String

Valeur de type String.A value of type String.

Implémente

S’applique à