PersonalizationDictionary Members
.NET Framework 2.0
Encapsulates basic validation rules that indicate whether a piece of custom data is considered personalizable in either User or Shared scope.
The following tables list the members exposed by the PersonalizationDictionary type.
| Name | Description | |
|---|---|---|
| PersonalizationDictionary | Overloaded. Initializes a new instance of the PersonalizationDictionary class. |
| Name | Description | |
|---|---|---|
| Count | Gets the number of entries in the dictionary. |
| IsFixedSize | Gets whether the personalization dictionary is of a fixed size. |
| IsReadOnly | Gets whether the personalization dictionary is read-only. |
| IsSynchronized | Gets whether the personalization dictionary is synchronized. |
| Item | Gets or sets an entry in the personalization dictionary. |
| Keys | Gets a reference to an ICollection object containing the keys for the personalization dictionary. |
| SyncRoot | Gets an object that can be used to synchronize access to the personalization dictionary. |
| Values | Gets a reference to an ICollection object containing the values in the personalization dictionary. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | Adds personalization entries to the personalization dictionary. |
| Clear | Removes all custom state information from the current PersonalizationDictionary object. |
| Contains | Returns a value indicating whether a piece of custom state information with the same key is contained in the personalization dictionary. |
| CopyTo | Copies the personalization dictionary state entries as DictionaryEntry instances into the specified array. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetEnumerator | Returns an enumerator that can be used to iterate through the entries in the personalization dictionary. |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| Remove | Removes a custom state entry based on the provided key. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| System.Collections.ICollection.CopyTo | Implements the ICollection.CopyTo method for the PersonalizationDictionary class. |
| System.Collections.IDictionary.Add | Implements the IDictionary.Add method for the PersonalizationDictionary class. |
| System.Collections.IDictionary.Contains | Implements the IDictionary.Contains method for the PersonalizationDictionary class. |
| System.Collections.IDictionary.Remove | Implements the IDictionary.Remove method for the PersonalizationDictionary class. |
| System.Collections.IEnumerable.GetEnumerator | Implements the IEnumerable.GetEnumerator method for the PersonalizationDictionary class. |
| System.Collections.IDictionary.Item | Gets or set the IDictionary.Item property value for the PersonalizationDictionary class. |
Reference
PersonalizationDictionary ClassSystem.Web.UI.WebControls.WebParts Namespace
SqlPersonalizationProvider
IDictionary
ICollection
Other Resources
ASP.NET Web Parts PagesWeb Parts Personalization Overview
Walkthrough: Implementing Web Parts Personalization with a User Control
Web Parts Personalization
Community Additions
ADD
Show: