ObjectDataSource.TrackViewState ObjectDataSource.TrackViewState ObjectDataSource.TrackViewState ObjectDataSource.TrackViewState Method

定义

跟踪 ObjectDataSource 控件的视图状态更改,以便将这些更改存储到 StateBag 对象中。Tracks view-state changes to the ObjectDataSource control so that they can be stored in the StateBag object.

protected:
 override void TrackViewState();
protected override void TrackViewState ();
override this.TrackViewState : unit -> unit
Protected Overrides Sub TrackViewState ()

注解

TrackViewState写方法, 以将起始点标记为开始跟踪, 并将更改保存为对象的视图状态的一部分。The TrackViewState method is overridden to mark the starting point to begin tracking and saving changes to the control as part of the view state for the object.

适用于

另请参阅