XhtmlMobileTextWriter.SetCacheKey(Cache) 方法

定义

创建一个唯一 string,以便在从缓存中检索样式表时使用。Creates a unique string to use when retrieving the style sheet from the cache. 此 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:
 virtual void SetCacheKey(System::Web::Caching::Cache ^ cache);
public virtual void SetCacheKey (System.Web.Caching.Cache cache);
abstract member SetCacheKey : System.Web.Caching.Cache -> unit
override this.SetCacheKey : System.Web.Caching.Cache -> unit
Public Overridable Sub SetCacheKey (cache As Cache)

参数

cache
Cache

当前的 Cache 对象。The current Cache object.

注解

此方法主要由自定义移动页和控件适配器的开发人员使用。This method is used primarily by developers of custom mobile page and control adapters.

适用于

另请参阅