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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈