PersonalizationDictionary.IDictionary.Item[Object] Property

Definition

Gets or sets the Item[Object] property value for the PersonalizationDictionary class.

C#
object System.Collections.IDictionary.Item[object key] { get; set; }

Parameters

key
Object

A String that identifies a particular PersonalizationEntry object in the personalization dictionary.

Property Value

A PersonalizationEntry object whose value matches key.

Implements

Exceptions

key is not a String object.

Remarks

The Item[] first ensures that key is a String object, and if so, it calls the PersonalizationDictionary class's own Item[] property to return the PersonalizationEntry whose key equals key in the current dictionary.

Applies to

Продукт Версии
.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