[Overview][Resource strings][Constants][Types][Classes][Index] Reference for unit 'resource' (#fcl-res)

TAbstractResource.CacheData

Controls the copy-on-write behaviour of the resource

Declaration

Source position: resource.pp line 177

public property TAbstractResource.CacheData : Boolean
  read GetCacheData
  write SetCacheData;

Description

When CacheData is true, copy-on-write mechanism of RawData is enabled.

Setting CacheData to false forces the raw resource data to be loaded in memory without performing any caching.

By default, CacheData is true.

See also

TAbstractResource.RawData

  

The raw resource data stream

TResources.CacheData

  

Controls the copy-on-write behaviour of all resources


Documentation generated on: May 14 2021