ObjectDataSource.SaveViewState 方法

定义

保存 ObjectDataSource 控件的状态。

protected:
 override System::Object ^ SaveViewState();
protected override object SaveViewState ();
override this.SaveViewState : unit -> obj
Protected Overrides Function SaveViewState () As Object

返回

返回服务器控件的当前视图状态;如果没有与此控件关联的视图状态,则返回 null

适用于

另请参阅