Επεξεργασία

Κοινή χρήση μέσω


PersonalizationDictionary.IDictionary.Contains(Object) Method

Definition

Implements the Contains(Object) method for the PersonalizationDictionary class.

 virtual bool System.Collections.IDictionary.Contains(System::Object ^ key) = System::Collections::IDictionary::Contains;
bool IDictionary.Contains (object key);
abstract member System.Collections.IDictionary.Contains : obj -> bool
override this.System.Collections.IDictionary.Contains : obj -> bool
Function Contains (key As Object) As Boolean Implements IDictionary.Contains

Parameters

key
Object

A String object that identifies a particular PersonalizationEntry to check for existence in the personalization dictionary.

Returns

true if key exists in the personalization dictionary; otherwise false.

Implements

Exceptions

key is not a String.

Remarks

The Contains method checks key to ensure it is a valid object for checking the personalization dictionary, and if so, it passes it to the PersonalizationDictionary class's own Contains method.

Applies to

See also