PersonalizationDictionary.IDictionary.Contains(Object) Method

Definition

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

bool IDictionary.Contains(object key);

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

Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also