.NET Framework 類別庫
OutputCacheParameters.CacheProfile 屬性

注意:這個屬性是 .NET Framework 2.0 版的新功能。

取得或設定與輸出快取項目設定關聯的 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; }
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)

屬性值

與輸出快取項目設定關聯的 OutputCacheProfile 名稱。
備註

設定檔會識別 <outputCacheSettings> 組態中的一組快取設定,當做輸出快取項目的基底設定使用。

平台

Windows 98、 Windows 2000 SP4、 Windows Server 2003、 Windows XP Media Center Edition、 Windows XP Professional x64 Edition、 Windows XP SP2、 Windows XP Starter Edition

.NET Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱系統需求一節的內容。

版本資訊

.NET Framework

支援版本:2.0
請參閱

標記 :


Page view tracker