IMobileWebFormServices 接口

定义

注意

The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.

定义页设计器组件的接口,以便在设计时获取设计器主机中的服务(如 Visual Studio 2005)。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

public interface class IMobileWebFormServices
public interface IMobileWebFormServices
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public interface IMobileWebFormServices
type IMobileWebFormServices = interface
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type IMobileWebFormServices = interface
Public Interface IMobileWebFormServices
属性

注解

此接口中的所有方法都由设计主机实现,并通过此 IMobileWebFormServices 接口提供给设计器组件。 在尝试在自定义设计器组件中使用 方法之前,请验证设计主机是否实际实现了 接口。

方法

ClearUndoStack()
已过时.

在设计时清除设计器主机的“撤销”缓存中的所有项。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

GetCache(String, Object)
已过时.

在设计时从设计器宿主的缓存中获取项。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

RefreshPageView()
已过时.

在设计时刷新设计器宿主中的页。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

SetCache(String, Object, Object)
已过时.

在设计时将一个对象存储在设计器宿主的缓存中。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

UpdateRenderingRecursive(Control)
已过时.

在设计时以递归方式更新设计宿主中的相关控件及其各个子控件。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

适用于

另请参阅