PersonalizationState Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the basic functionality that represents the personalization data for a page.
public ref class PersonalizationState abstract
public abstract class PersonalizationState
type PersonalizationState = class
Public MustInherit Class PersonalizationState
- Inheritance
-
PersonalizationState
Classes that derive from this base class contain the actual implementation for managing, applying, and extracting personalization data. The WebPartPersonalization class makes use of personalization state with a reference to PersonalizationState.
If a developer writes a custom PersonalizationState implementation, a custom PersonalizationProvider must also be written. PersonalizationProvider instances are responsible for creating and consuming PersonalizationState instances.
Derived classes should always call the base class constructor from the derived constructor.
Personalization |
Initializes a new instance of the PersonalizationState class. |
Is |
Gets a value that indicates whether any personalization information has changed. |
Is |
When overridden, gets a value that indicates whether any personalization state was extracted by a state instance. |
Web |
Gets a reference to the WebPartManager control currently associated with the personalization state instance. |
Apply |
When overridden, applies personalization data to the WebPartManager control associated with the personalization state instance. |
Apply |
When overridden, applies personalization data to the specified Web Parts control. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Extract |
When overridden, extracts personalization information from the WebPartManager control associated with the current personalization state. |
Extract |
When overridden, extracts personalization data from the specified Web Parts control. |
Get |
Retrieves the authorization filter for the specified Web Parts control. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Set |
Marks the current personalization state as having changed. |
Set |
When overridden, marks a Web Parts control as having changed. |
Set |
When overridden, marks the associated WebPartManager control as having changed. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Validate |
Verifies that the specified Web Parts control is valid. |
Produk | Versi |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET maklum balas
.NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: