IControlAdapter.SaveAdapterState IControlAdapter.SaveAdapterState IControlAdapter.SaveAdapterState IControlAdapter.SaveAdapterState Method

定义

当控件保存其私有视图状态时调用此方法。This method is called when the control saves its private view state. 此 API 已过时。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 System::Object ^ SaveAdapterState();
public object SaveAdapterState ();
abstract member SaveAdapterState : unit -> obj
Public Function SaveAdapterState () As Object

返回

新保存的适配器状态。The newly saved adapter state.

注解

适配器可以保存特定于适配器的状态的控件。An adapter can save adapter-specific state for a control. 如果没有此类功能是必需的则适配器将返回null(Nothing在 Visual Basic 中)。If no such functionality is required, the adapter returns null (Nothing in Visual Basic).

适用于

另请参阅