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)
Not applicable.
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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.