共用方式為


DataFormWebPart.CacheXslStorage Property

Indicates whether to cache the compiled XSLT transformation for the current Web Part.

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

Syntax

'Declaration
<ResourcesAttribute("DataViewWebPartCacheXslStorageLiteral", "Miscellaneous",  _
    "DataViewWebPartCacheXslStorageDescription")> _
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property CacheXslStorage As Boolean
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As Boolean

value = instance.CacheXslStorage

instance.CacheXslStorage = value
[ResourcesAttribute("DataViewWebPartCacheXslStorageLiteral", "Miscellaneous", 
    "DataViewWebPartCacheXslStorageDescription")]
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public bool CacheXslStorage { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace