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)。Defines an interface for a page designer component to obtain services from a designer host such as Visual Studio 2005 at design time. 若要了解如何开发 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 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
属性

注解

此接口中的所有方法都将由设计宿主实现并通过此接口提供给设计器组件 IMobileWebFormServicesAll methods in this interface are to be implemented by the design host and made available to designer components through this IMobileWebFormServices interface. 尝试在自定义设计器组件中使用方法之前,请验证设计宿主是否确实实现了接口。Before attempting to use the methods in a custom designer component, verify that the design host actually implements the interface.

方法

ClearUndoStack()

在设计时清除设计器主机的“撤销”缓存中的所有项。Clears all items in the designer host's Undo cache at design time. 此 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.

GetCache(String, Object)

在设计时从设计器宿主的缓存中获取项。Gets an item from the cache of the designer host at design time. 此 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.

RefreshPageView()

在设计时刷新设计器宿主中的页。Refreshes the page in the designer host at design time. 此 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.

SetCache(String, Object, Object)

在设计时将一个对象存储在设计器宿主的缓存中。Stores an object in the designer host's cache at design time. 此 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.

UpdateRenderingRecursive(Control)

在设计时以递归方式更新设计宿主中的相关控件及其各个子控件。Recursively updates the associated control and each of its child controls in the design host at design time. 此 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.

适用于