Questo articolo è stato tradotto automaticamente. Per visualizzare l'articolo in inglese, selezionare la casella di controllo Inglese. È possibile anche visualizzare il testo inglese in una finestra popup posizionando il puntatore del mouse sopra il testo.
Traduzione
Inglese

Metodo WebPartManager.IPersonalizable.Load (PersonalizationDictionary)

 

Restituisce i dati sullo stato di personalizzazione salvati in precedenza che devono essere caricati nel controllo WebPartManager.

Spazio dei nomi:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

void IPersonalizable.Load(
	PersonalizationDictionary state
)

Parametri

state
Type: System.Web.UI.WebControls.WebParts.PersonalizationDictionary

Oggetto PersonalizationDictionary che contiene i dati sullo stato da caricare.

This method is an implementation of the M:System.Web.UI.WebControls.WebParts.IPersonalizable.Load(System.Web.UI.WebControls.WebParts.PersonalizationDictionary) method, which provides a way for the Web Parts control set to directly access the protected M:System.Web.UI.WebControls.WebParts.WebPartManager.LoadCustomPersonalizationState(System.Web.UI.WebControls.WebParts.PersonalizationDictionary) method. When this method is called, it stores the custom personalized data that is managed by the T:System.Web.UI.WebControls.WebParts.WebPartManager control, and that was previously saved in the permanent data store for use later in the initialization process.

System_CAPS_noteNota

In most cases, page and control developer code does not need to call this method, because it is primarily used by the Web Parts control set as its mechanism for retrieving personalization data.

Note per gli eredi:

One scenario in which developers would use this method is if they are developing a custom personalization framework to use in place of the one provided by the Web Parts control set. In such cases, developers could inherit from the T:System.Web.UI.WebControls.WebParts.WebPartManager class and override the M:System.Web.UI.WebControls.WebParts.WebPartManager.CreatePersonalization method to return a custom implementation of a T:System.Web.UI.WebControls.WebParts.WebPartPersonalization object. The custom T:System.Web.UI.WebControls.WebParts.WebPartPersonalization object would call the implementation of the M:System.Web.UI.WebControls.WebParts.WebPartManager.System#Web#UI#WebControls#WebParts#IPersonalizable#Load(System.Web.UI.WebControls.WebParts.PersonalizationDictionary) method at the proper time to load custom personalization data.

.NET Framework
Disponibile da 2.0
Torna all'inizio
Mostra: