LanguageSpecificStringDictionary.TryGetValue(XmlLanguage, String) Method

Definition

Retrieves the string value in the LanguageSpecificStringDictionary for a specified key, or language.

C#
public bool TryGetValue(System.Windows.Markup.XmlLanguage key, out string value);

Parameters

key
XmlLanguage

A value of type XmlLanguage.

value
String

A value of type String.

Returns

true if the LanguageSpecificStringDictionary contains an entry for key; otherwise false.

Remarks

If the return value is true, value contains a copy of the string that is associated with the key value. If the return value is false, value is set to null.

Applies to

製品 バージョン
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10