PersonalizationStateInfoCollection.Item Property (String, String)
Assembly: System.Web (in system.web.dll)
public: property PersonalizationStateInfo^ default [String^, String^] { PersonalizationStateInfo^ get (String^ path, String^ username); }
/** @property */ public PersonalizationStateInfo get_Item (String path, String username)
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- path
The relative application path of the personalization state object to be retrieved.
- username
The user name of the UserPersonalizationStateInfo object to be retrieved.
Property Value
A PersonalizationStateInfo.This property is the default indexer for the collection. If only path is provided, the property returns a SharedPersonalizationStateInfo instance. If both path and username are provided, the property returns a UserPersonalizationStateInfo instance for the combination of path and username.
If path (in the case that username is set to a null reference (Nothing in Visual Basic)) does not exist, or if username and path do not exist, a null reference (Nothing in Visual Basic) is returned.
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.