Internet Direct (Indy)
Home
PreviousUpNext
TIdMimeTable.OnBuildCache Property

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.