Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PersonalizationStateInfoCollection Class

Note: This class is new in the .NET Framework version 2.0.

Provides a collection of SharedPersonalizationStateInfo and UserPersonalizationStateInfo objects.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

[SerializableAttribute] 
public sealed class PersonalizationStateInfoCollection : ICollection, IEnumerable
/** @attribute SerializableAttribute() */ 
public final class PersonalizationStateInfoCollection implements ICollection, IEnumerable
SerializableAttribute 
public final class PersonalizationStateInfoCollection implements ICollection, IEnumerable

The PersonalizationStateInfoCollection class provides a collection-based wrapper over a set of SharedPersonalizationStateInfo and UserPersonalizationStateInfo instances. These instances are retrieved by iterating sequentially over the collection, by ordinal index or by key value.

Instances are indexed on a combination of path and user name. This is necessary because SharedPersonalizationStateInfo instances representing shared data are indexed according to Path object, whereas UserPersonalizationStateInfo instances are indexed according to both a Path object and a Username object.

The information objects are maintained in the collection in the order in which they were received from the provider. The collection does not attempt to change the order of the instances or maintain a specific sort order within the collection.

System.Object
  System.Web.UI.WebControls.WebParts.PersonalizationStateInfoCollection
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.