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)

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