共用方式為


DataFormWebPart.CacheXslTimeOut Property

Indicates the duration of the lifetime, in seconds, for the XSLT cache.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<ResourcesAttribute("DataFormWebPartXSLTCacheTimeoutLiteral", "Miscellaneous",  _
    "DataFormWebPartXSLTCacheTimeoutDescription")> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property CacheXslTimeOut As Integer
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As Integer

value = instance.CacheXslTimeOut

instance.CacheXslTimeOut = value
[WebBrowsableAttribute(true)]
[ResourcesAttribute("DataFormWebPartXSLTCacheTimeoutLiteral", "Miscellaneous", 
    "DataFormWebPartXSLTCacheTimeoutDescription")]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public int CacheXslTimeOut { get; set; }

Property Value

Type: System.Int32

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace