IControlAdapter.SaveAdapterState 方法

定义

当控件保存其私有视图状态时调用此方法。This method is called when the control saves its private view state. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with 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

返回

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).

适用于