Share via


DataViewWebPart.CacheXslStorageProperty Property

Determines whether XSLT (Extensible Stylesheet Language Transformation) caching is done.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("DataViewWebPartCacheXslStorageLiteral", "Miscellaneous",  _
    "DataViewWebPartCacheXslStorageDescription")> _
Public Property CacheXslStorageProperty As Boolean
    Get
    Set
'Usage
Dim instance As DataViewWebPart
Dim value As Boolean

value = instance.CacheXslStorageProperty

instance.CacheXslStorageProperty = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("DataViewWebPartCacheXslStorageLiteral", "Miscellaneous", 
    "DataViewWebPartCacheXslStorageDescription")]
public bool CacheXslStorageProperty { get; set; }

Property Value

Type: System.Boolean
true to cache XSLT; otherwise, false. The default is true.

See Also

Reference

DataViewWebPart Class

DataViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace