LanguageSpecificStringDictionary.TryGetValue Method (XmlLanguage, String)

 

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

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

Public Function TryGetValue (
	key As XmlLanguage,
	<OutAttribute> ByRef value As String
) As Boolean

Parameters

key
Type: System.Windows.Markup.XmlLanguage

A value of type XmlLanguage.

value
Type: System.String

A value of type String.

Return Value

Type: System.Boolean

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

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.

.NET Framework
Available since 3.0
Return to top
Show: