Assembly: System.Web (in System.Web.dll)
Thetype exposes the following members.
|Count||Gets the number of items in a collection.|
|IsSynchronized||Gets a value indicating whether access to the collection is synchronized (thread safe).|
|Item[Int32]||Gets a PersonalizationStateInfo instance located at the specified ordinal index in the collection.|
|Item[String, String]||Gets an element from the collection based on the specified parameters.|
|SyncRoot||Gets an object that can be used to synchronize access to the instance.|
|Add||Adds a PersonalizationStateInfo-derived instance to the end of the collection.|
|Clear||Clears the collection of all items.|
|CopyTo||Copies the elements of the collection into a PersonalizationStateInfo array, starting at the specified position.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|GetEnumerator||Returns a standard enumerator capable of iterating over the collection. This method cannot be inherited.|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|Remove||Removes a PersonalizationStateInfo-derived object from the collection.|
|SetReadOnly||Marks the collection as read-only.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|AsParallel()||Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)|
|AsParallel()||Overloaded. (Defined by ParallelEnumerable.)|
|AsQueryable()||Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)|
|AsQueryable()||Overloaded. (Defined by Queryable.)|
|Cast<TResult>()||Overloaded. Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)|
|Cast<TResult>()||Overloaded. (Defined by Enumerable.)|
|OfType<TResult>()||Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)|
|OfType<TResult>()||Overloaded. (Defined by Enumerable.)|
The 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.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)