PersonalizationDictionary::IDictionary::Item Property (Object^)
.NET Framework (current version)
Gets or sets the Item property value for the PersonalizationDictionary class.
Assembly: System.Web (in System.Web.dll)
private: property Object^ default[ Object^ key ] { virtual Object^ get(Object^ key) sealed = IDictionary::default::get; virtual void set(Object^ key, Object^ value) sealed = IDictionary::default::set; }
Parameters
- key
-
Type:
System::Object^
A String that identifies a particular PersonalizationEntry object in the personalization dictionary.
Implements
IDictionary::Item[Object^]| Exception | Condition |
|---|---|
| ArgumentException | key is not a String object. |
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: