LanguageSpecificStringDictionary.TryGetValue Method (XmlLanguage, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

abstract TryGetValue : 
        key:XmlLanguage *
        value:string byref -> bool
override TryGetValue : 
        key:XmlLanguage *
        value:string byref -> bool

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: