共用方式為


DataViewWebPart.CacheXslStorageProperty property

決定是否 XSLT (可延伸樣式表語言轉換) 快取。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("DataViewWebPartCacheXslStorageLiteral", "Miscellaneous",  _
    "DataViewWebPartCacheXslStorageDescription")> _
Public Property CacheXslStorageProperty As Boolean
    Get
    Set
'用途
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到快取 XSLT ;否則, false。預設值為true。

請參閱

參照

DataViewWebPart class

DataViewWebPart members

Microsoft.SharePoint.WebPartPages namespace