Represents a reader that can read a Microsoft Outlook Message format document. More...
Inherits IDisposable.
Public Member Functions | |
System::SharedPtr< Aspose::Email::Mapi::StructuredStorage::FileSystem > | get_FileSystem () const |
System::SharedPtr< Aspose::Email::VentureLicense > | get_VentureLicense () const |
This is part of the venture licensing pattern. This value will be set by VentureLicenser if the venture passes us a LoadOptions object. More... | |
void | set_VentureLicense (System::SharedPtr< Aspose::Email::VentureLicense > value) |
This is part of the venture licensing pattern. This value will be set by VentureLicenser if the venture passes us a LoadOptions object. More... | |
MapiMessageReader (System::String path) | |
Initializes a new instance of the MapiMessageReader class for the specified file name. More... | |
MapiMessageReader (System::SharedPtr< System::IO::Stream > stream) | |
Initializes a new instance of the MapiMessageReader class for the specified stream. More... | |
System::SharedPtr< MapiMessage > | ReadMessage () |
Parse the current stream and returns the data as a MapiMessage. More... | |
System::SharedPtr< MapiAttachmentCollection > | ReadAttachments () |
Extracts the attachment from the Outlook Message files. More... | |
void | DestroyAttachments (System::String newPath) |
Destroies the attachments in the specified Outlook Message files More... | |
System::SharedPtr< MapiAttachmentCollection > | RemoveAttachments (System::String newPath) |
Removes the attachments from the specified Outlook Message files More... | |
void | Dispose () override |
Releases the unmanaged resources used by the MapiMessageReader. More... | |
Friends | |
class | Aspose::Email::MailMessage |
class | Aspose::Email::Mapi::MapiMessage |
Represents a reader that can read a Microsoft Outlook Message format document.
Aspose::Email::Mapi::MapiMessageReader::MapiMessageReader | ( | System::String | path | ) |
Initializes a new instance of the MapiMessageReader class for the specified file name.
path | The complete file path to be read. |
Aspose::Email::Mapi::MapiMessageReader::MapiMessageReader | ( | System::SharedPtr< System::IO::Stream > | stream | ) |
Initializes a new instance of the MapiMessageReader class for the specified stream.
stream | The stream to be read. |
void Aspose::Email::Mapi::MapiMessageReader::DestroyAttachments | ( | System::String | newPath | ) |
Destroies the attachments in the specified Outlook Message files
newPath | The path for saving |
|
override |
Releases the unmanaged resources used by the MapiMessageReader.
System::SharedPtr<Aspose::Email::Mapi::StructuredStorage::FileSystem> Aspose::Email::Mapi::MapiMessageReader::get_FileSystem | ( | ) | const |
System::SharedPtr<Aspose::Email::VentureLicense> Aspose::Email::Mapi::MapiMessageReader::get_VentureLicense | ( | ) | const |
This is part of the venture licensing pattern. This value will be set by VentureLicenser if the venture passes us a LoadOptions object.
System::SharedPtr<MapiAttachmentCollection> Aspose::Email::Mapi::MapiMessageReader::ReadAttachments | ( | ) |
Extracts the attachment from the Outlook Message files.
System::SharedPtr<MapiMessage> Aspose::Email::Mapi::MapiMessageReader::ReadMessage | ( | ) |
Parse the current stream and returns the data as a MapiMessage.
System::SharedPtr<MapiAttachmentCollection> Aspose::Email::Mapi::MapiMessageReader::RemoveAttachments | ( | System::String | newPath | ) |
Removes the attachments from the specified Outlook Message files
newPath | The path for saving |
void Aspose::Email::Mapi::MapiMessageReader::set_VentureLicense | ( | System::SharedPtr< Aspose::Email::VentureLicense > | value | ) |
This is part of the venture licensing pattern. This value will be set by VentureLicenser if the venture passes us a LoadOptions object.
|
friend |
|
friend |