Share via


BaseXmlDataSource.EnableCaching Property

Gets or sets a value that indicates whether caching is enabled.

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

Syntax

'Declaration
Public Overridable Property EnableCaching As Boolean
    Get
    Set
'Usage
Dim instance As BaseXmlDataSource
Dim value As Boolean

value = instance.EnableCaching

instance.EnableCaching = value
public virtual bool EnableCaching { get; set; }

Property Value

Type: System.Boolean
true if caching is enabled; otherwise, false.

See Also

Reference

BaseXmlDataSource Class

BaseXmlDataSource Members

Microsoft.SharePoint.WebControls Namespace