Επεξεργασία

Κοινή χρήση μέσω


LanguageSpecificStringDictionary.Add Method

Definition

Adds a key/value pair to the LanguageSpecificStringDictionary.

Overloads

Add(KeyValuePair<XmlLanguage,String>)

Adds a key/value pair to the LanguageSpecificStringDictionary.

Add(XmlLanguage, String)

Adds a language and associated string to the LanguageSpecificStringDictionary.

Add(KeyValuePair<XmlLanguage,String>)

Important

This API is not CLS-compliant.

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);
[<System.CLSCompliant(false)>]
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))

Parameters

item
KeyValuePair<XmlLanguage,String>

An array of key/value pairs. The key is an object of type XmlLanguage. The value is an associated string.

Implements

Attributes

Applies to

Add(XmlLanguage, String)

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)

Parameters

key
XmlLanguage

A value of type XmlLanguage.

value
String

A value of type String.

Implements

Applies to