.NET Framework 类库
OutputCacheParameters..::.CacheProfile 属性

更新:2007 年 11 月

获取或设置 OutputCacheProfile 名称,该名称与输出缓存项的设置关联。

命名空间:  System.Web.UI
程序集:  System.Web(在 System.Web.dll 中)

语法

Visual Basic(声明)
Public Property CacheProfile As String
Visual Basic (用法)
Dim instance As OutputCacheParameters
Dim value As String

value = instance.CacheProfile

instance.CacheProfile = value
C#
public string CacheProfile { get; set; }
Visual C++
public:
property String^ CacheProfile {
    String^ get ();
    void set (String^ value);
}
J#
/** @property */
public String get_CacheProfile()
/** @property */
public  void set_CacheProfile(String value)
JScript
public function get CacheProfile () : String
public function set CacheProfile (value : String)

属性值

类型:System..::.String

与输出缓存项的设置关联的 OutputCacheProfile 名称。

备注

配置文件标识 <outputCacheSettings> 配置中的一组缓存设置(用作输出缓存项的基本设置)。

平台

Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.5、3.0、2.0
另请参见

参考

标记 :


Page view tracker