ContentByQueryWebPart.UseCache property

Gets or sets whether this ContentByQueryWebPart() should use the cache to retrieve its data.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property UseCache As Boolean
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As Boolean

value = instance.UseCache

instance.UseCache = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool UseCache { get; set; }

Property value

Type: System.Boolean

See also

Reference

ContentByQueryWebPart class

ContentByQueryWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace

ContentByQueryWebPart