Compartir a través de


: CacheableWebPart.CacheTimeout (Propiedad) (Microsoft.SharePoint.Portal.WebControls)

Este miembro está reservado para uso interno y no está destinado a ser utilizado desde el código.Gets or sets the length of time in seconds the cache exists before being automatically deleted.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<ResourcesAttribute("CacheableWebpart_Property_CacheTimeout_Text", "", "")> _
<DefaultValueAttribute(0)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property CacheTimeout As Integer
'Uso
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; }

Valor de propiedad

A 32-bit signed integer that represents the length of time in seconds the cache exists before being automatically deleted.

Vea también

Referencia

CacheableWebPart (Clase)
CacheableWebPart (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)