Topic Path: Symbol Reference > Classes > TIdMimeTable Class > TIdMimeTable Properties > OnBuildCache Property
TIdMimeTable.OnBuildCache Property

Event handler used to load MIME type mappings from a non-standard source.

property OnBuildCache: TIdNotifyEvent;

OnBuildCache is a TNotifyEvent property that represents the event handler signalled when the MIME type mapping table needs to be loaded from an external or non-standard source. 

When a procedure has been assigned to the OnBuildCache event handler, it is entirely responsible for loading the file extensions and MIME type/subtypes used in the class instance. When OnBuildCache is unassigned, the default behavior is to loaded the MIME type and file extension mappings specific to the development platform. 

OnBuildCache is triggered in the BuildCache method.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.