PartialCachingAttribute.Duration プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > PartialCachingAttribute.Duration プロパティの意味・解説 

PartialCachingAttribute.Duration プロパティ

キャッシュされたアイテムが出力キャッシュ内に存続する時間 (秒数) を取得します。

名前空間: System.Web.UI
アセンブリ: System.Web (system.web.dll 内)
構文構文

使用例使用例

PartialCachingAttribute(Int32) コンストラクタをユーザー コントロールに適用する方法を次のコード例に示します。属性によって、ユーザー コントロールをキャッシュできることを示し、キャッシュの存続期間を 20 秒に設定しています。このコード例は、PartialCachingAttribute クラスのトピックで取り上げているコード例の一部分です。

' Set the PartialCachingAttribute.Duration property to 20 seconds.
<PartialCaching(20)> _
Partial Class ctlMine
    Inherits UserControl
// Set the PartialCachingAttribute.Duration property to 20 seconds.
[PartialCaching(20)]
public partial class ctlMine : UserControl
// Set the PartialCachingAttribute.Duration property to 20 seconds.
/** @attribute PartialCaching(20)
 */
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PartialCachingAttribute クラス
PartialCachingAttribute メンバ
System.Web.UI 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「PartialCachingAttribute.Duration プロパティ」の関連用語

PartialCachingAttribute.Duration プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



PartialCachingAttribute.Duration プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS