PersonalizationDictionary.Item Property
Assembly: System.Web (in system.web.dll)
public: virtual property PersonalizationEntry^ default [String^] { PersonalizationEntry^ get (String^ key); void set (String^ key, PersonalizationEntry^ value); }
/** @property */ public PersonalizationEntry get_Item (String key) /** @property */ public void set_Item (String key, PersonalizationEntry value)
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- key
The key of the entry to be retrieved or changed.
Property Value
A PersonalizationEntry representing custom personalization information identified by the key parameter.This property works with a PersonalizationEntry object representing custom personalization information that is identified by the key parameter. If there is no value for key, a null reference (Nothing in Visual Basic) is returned.
If key does not already exist, then key (and its associated value) are added to the dictionary.
Note that you can add a null value to the dictionary, and the indexer can also be used to update the personalization value.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.