共用方式為


ScriptingScriptResourceHandlerSection.EnableCaching 屬性

定義

取得或設定是否啟用快取,針對嵌入於組合語言中的腳本檔案作為資源。

public:
 property bool EnableCaching { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("enableCaching", DefaultValue=true)]
public bool EnableCaching { get; set; }
[<System.Configuration.ConfigurationProperty("enableCaching", DefaultValue=true)>]
member this.EnableCaching : bool with get, set
Public Property EnableCaching As Boolean

屬性值

true如果對於嵌入為組件語言中的資源腳本檔案啟用快取;否則,。 false 預設值為 true

屬性

備註

這個 EnableCaching 屬性會取得或設定嵌入腳本檔案結果的快取值、快取任何潛在的本地化物件,以及快取腳本的值。

適用於