Class
MemoryCache.CacheRecord

Represents the CacheRecord class.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
protected class MemoryCache.CacheRecord : MemoryCache.ICacheRecordMetadata

Inheritance: objectMemoryCache.CacheRecord

Implements: MemoryCache.ICacheRecordMetadata

Constructors

CacheRecord(string, byte[], DateTime, bool)

Initializes a new instance of the CacheRecord class.

Declaration

cs-api-definition
public CacheRecord(string fileName, byte[] tileBody, DateTime fileExpires, bool useMetaFiles)

Parameters

fileName

string

File name.

tileBody

byte[]

Byte array of the tile image.

fileExpires

DateTime

Expires time.

useMetaFiles

bool

Use metafiles (isolated storage only).

Properties

Expires

Gets cache expiration date.

Declaration

cs-api-definition
public DateTime Expires { get; }

Property Value

DateTime

Implements MemoryCache.ICacheRecordMetadata.Expires

FileName

File name.

Declaration

cs-api-definition
public string FileName { get; }

Property Value

string

Implements MemoryCache.ICacheRecordMetadata.FileName

FileStorageLength

Length of file in storage.

Declaration

cs-api-definition
public long FileStorageLength { get; }

Property Value

long

Implements MemoryCache.ICacheRecordMetadata.FileStorageLength

LastAccess

Gets date of the last access.

Declaration

cs-api-definition
public DateTime LastAccess { get; }

Property Value

DateTime

Implements MemoryCache.ICacheRecordMetadata.LastAccess