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)
Available in Sandboxed Solutions: No

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