Share via


BaseXmlDataSource.CacheKeyDependency property

Gets or sets an arbitrary dependent cache key for the entry.

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

Syntax

'Declaration
Public Overridable Property CacheKeyDependency As String
    Get
    Set
'Usage
Dim instance As BaseXmlDataSource
Dim value As String

value = instance.CacheKeyDependency

instance.CacheKeyDependency = value
public virtual string CacheKeyDependency { get; set; }

Property value

Type: System.String
A string that contains an arbitrary cache key.

Remarks

Allows the user to customize when the cache entry will expire.

See also

Reference

BaseXmlDataSource class

BaseXmlDataSource members

Microsoft.SharePoint.WebControls namespace