Topic Path: Symbol Reference > Classes > TIdMimeTable Class > TIdMimeTable Methods > SaveToStrings Method
ContentsIndexHome
PreviousUpNext
TIdMimeTable.SaveToStrings Method

Stores MIME Type mapping values to a TIdStrings variable.

procedure SaveToStrings(
    const AStrings: TIdStrings; 
    const MimeSeparator: Char = '='
);
Parameters 
Description 
AStrings 
Destination for MIME Type mapping values.
 
MimeSeparator 
Delimiter for extension and MIME type values. 

SaveToStrings is a procedure used to store values in the MIME type mapping to table to the TIdStrings specified in AStrings. MimeSeparator is the charcter to use as a delimiter between the file extension and the MIME Type and Subtype in lines added to AStrings. SaveToStrings clears any existing values in AStrings prior to storing the MIME Type mappings, with one file extension, delimiter character, and MIME Type value per line.

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