HotSpot.IStateManager.TrackViewState Method

Definition

Instructs the HotSpot region to track changes to its view state.

 virtual void System.Web.UI.IStateManager.TrackViewState() = System::Web::UI::IStateManager::TrackViewState;
void IStateManager.TrackViewState ();
abstract member System.Web.UI.IStateManager.TrackViewState : unit -> unit
override this.System.Web.UI.IStateManager.TrackViewState : unit -> unit
Sub TrackViewState () Implements IStateManager.TrackViewState

Implements

Remarks

Typically, you should use the HotSpot.TrackViewState method to start tracking view-state changes for the HotSpot region.

The IStateManager.TrackViewState 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 TrackViewState() member. The explicit interface implementation calls the TrackViewState() method to initialize view-state tracking for the object.

Applies to

See also