LanguageSpecificStringDictionary.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om