Topic Path: Symbol Reference > Classes > TIdMimeTable Class > TIdMimeTable Methods > Create Constructor
ContentsIndexHome
PreviousUpNext
TIdMimeTable.Create Constructor

Constructor for the object instance.

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.

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