HotSpot.IStateManager.SaveViewState Method
Definition
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.
Saves the changes to the HotSpot object's view state since the last time the page was posted back to the server.
virtual System::Object ^ System.Web.UI.IStateManager.SaveViewState() = System::Web::UI::IStateManager::SaveViewState;
object IStateManager.SaveViewState ();
abstract member System.Web.UI.IStateManager.SaveViewState : unit -> obj
override this.System.Web.UI.IStateManager.SaveViewState : unit -> obj
Function SaveViewState () As Object Implements IStateManager.SaveViewState
Returns
The Object that contains the changes to the HotSpot object's view state.
Implements
Remarks
Typically, you should use the HotSpot.SaveViewState method to save the view state for the HotSpot region.
The IStateManager.SaveViewState method is an explicit interface member implementation. It can be used only when a HotSpot instance is cast to an IStateManager interface.
Notes to Inheritors
To define a custom implementation for tracking view state for a HotSpot object, override the SaveViewState() member. The explicit interface implementation calls the SaveViewState() method to save view-state changes for the object.
Applies to
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour