แก้ไข

แชร์ผ่าน


StateManagedCollection.IStateManager.TrackViewState Method

Definition

Causes the StateManagedCollection collection and each of the IStateManager objects it contains to track changes to their view state so they can be persisted across requests for the same page.

 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

View state is the accumulation of the values of a server control's properties. These values are automatically placed in the server control's ViewState property, which is an instance of the StateBag class. This property's value is then persisted to a string object after the save state stage of the server control life cycle. For more information, see ASP.NET Web Server Controls.

Applies to

See also