編輯

共用方式為


LanguageSpecificStringDictionary.Contains Method

Definition

Important

This API is not CLS-compliant.

Determines whether the LanguageSpecificStringDictionary contains the key/value pair.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<System::Windows::Markup::XmlLanguage ^, System::String ^> item);
[System.CLSCompliant(false)]
public bool Contains (System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage,string> item);
[<System.CLSCompliant(false)>]
abstract member Contains : System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage, string> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage, string> -> bool
Public Function Contains (item As KeyValuePair(Of XmlLanguage, String)) As Boolean

Parameters

item
KeyValuePair<XmlLanguage,String>

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

Returns

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

Implements

Attributes

Applies to