Aspose::Email::FileFormatInfo Class Reference

Contains data returned by FileFormatUtil file format detection methods. More...

Inherits Object.

Public Member Functions

Aspose::Email::FileFormatType get_FileFormatType () const
 Gets file format type. More...
 
 FileFormatInfo (Aspose::Email::FileFormatType formatType)
 

Friends

class Aspose::Email::Tools::FileFormatUtil
 

Detailed Description

Contains data returned by FileFormatUtil file format detection methods.

The following example shows how to detect File Formats of Email Message.

[C#]

// Detect file format and Gets the detected load format
FileFormatInfo info = FileFormatUtil.DetectFileFormat("message.msg");
Console.WriteLine("The message format is: " + info.FileFormatType);

[Visual Basic]

' Detect file format and Gets the detected load format
Dim info As FileFormatInfo = FileFormatUtil.DetectFileFormat("message.msg")
Console.WriteLine("The message format is: " & info.FileFormatType)

Constructor & Destructor Documentation

◆ FileFormatInfo()

Aspose::Email::FileFormatInfo::FileFormatInfo ( Aspose::Email::FileFormatType  formatType)

Member Function Documentation

◆ get_FileFormatType()

Aspose::Email::FileFormatType Aspose::Email::FileFormatInfo::get_FileFormatType ( ) const

Gets file format type.

Friends And Related Function Documentation

◆ Aspose::Email::Tools::FileFormatUtil

FileFormatInfo(Aspose::Email::FileFormatType formatType)