LanguageSpecificStringDictionary.Contains Method (KeyValuePair<XmlLanguage, String>)


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

Determines whether the LanguageSpecificStringDictionary contains the key/value pair.

This API is not CLS-compliant.

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

public bool Contains(
	KeyValuePair<XmlLanguage, string> item


Type: System.Collections.Generic.KeyValuePair<XmlLanguage, String>

The key/pair to locate. The key is an object of type XmlLanguage. The value is an associated string.

Return Value

Type: System.Boolean

true if the collection contains the key/value pair; otherwise, false.

.NET Framework
Available since 3.0
Return to top