Internet Direct (Indy)
Home
PreviousUpNext
TIdMimeTable.Create Constructor

Constructor for the object instance.

Pascal
constructor Create(
    const AutoFill: Boolean = True
); virtual; reintroduce;
Parameters 
Description 
AutoFill 
Automatically load MIME types and file extensions. 

Create is the constructor for the object instance, and initializes the TStringList objects used to store MIME types and File extensions. 

When Autofill is True, Create calls the BuildCache method to populate the MIME type entries from system settings on the local computer, or using the OnBuildCache event handler. When Autofill is False, use LoadFromStrings to populate the MIME type mapping table.

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.