다음을 통해 공유


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