Skip to content

TMimeType.Create

Create a new instance of TMimeType.

Declaration

Source position: fpmimetypes.pp line 40

public 
constructor TMimeType.Create(const AMimeType: string; 
                            const AExtensions: string);

Description

Create initializes a new instance of TMimeType and sets the TMimeType.MimeTypeTMimeType.Extensions properties to aMimeType and aExtensions.

See also

Name Description
TMimeType.MimeType Mime type name.
TMimeType.Extensions Semicolon-separated list of extensions associated with MimeType.