Редагувати

Поділитися через


PersonalizationDictionary.IDictionary.Item[Object] Property

Definition

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

property System::Object ^ System::Collections::IDictionary::Item[System::Object ^] { System::Object ^ get(System::Object ^ key); void set(System::Object ^ key, System::Object ^ value); };
object System.Collections.IDictionary.Item[object key] { get; set; }
member this.System.Collections.IDictionary.Item(obj) : obj with get, set
 Property Item(key As Object) As Object Implements IDictionary.Item

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

See also