CacheableWebPart.CacheTimeout Property
This member is reserved for internal use and is not intended to be used directly from your code.Gets or sets the length of time in seconds the cache exists before being automatically deleted.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ResourcesAttribute("CacheableWebpart_Property_CacheTimeout_Text", "", _
"")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property CacheTimeout As Integer
Get
Set
'Usage
Dim instance As CacheableWebPart
Dim value As Integer
value = instance.CacheTimeout
instance.CacheTimeout = value
[ResourcesAttribute("CacheableWebpart_Property_CacheTimeout_Text", "",
"")]
[WebPartStorageAttribute(Storage.Shared)]
public int CacheTimeout { get; set; }
Property Value
Type: System.Int32
A 32-bit signed integer that represents the length of time in seconds the cache exists before being automatically deleted.