次の方法で共有


CacheableWebPart.CacheTimeout プロパティ (Microsoft.SharePoint.Portal.WebControls)

このメンバは内部使用の目的で予約されており、ユーザー コード内で直接使用することを意図したものではありません。キャッシュが自動削除されるまでの時間の長さを秒単位で取得または設定します。

名前空間: Microsoft.SharePoint.Portal.WebControls
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)

構文

'宣言
<ResourcesAttribute("CacheableWebpart_Property_CacheTimeout_Text", "", "")> _
<DefaultValueAttribute(0)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property CacheTimeout As Integer
'使用
Dim instance As CacheableWebPart
Dim value As Integer

value = instance.CacheTimeout

instance.CacheTimeout = value
[ResourcesAttribute("CacheableWebpart_Property_CacheTimeout_Text", "", "")] 
[DefaultValueAttribute(0)] 
[WebPartStorageAttribute(Storage.Shared)] 
public int CacheTimeout { get; set; }

プロパティ値

キャッシュが自動削除されるまでの時間の長さを秒単位で表す 32 ビットの符号付き整数。

関連項目

参照

CacheableWebPart クラス
CacheableWebPart メンバ
Microsoft.SharePoint.Portal.WebControls 名前空間