Represents Outlook for Mac storage (.OLM) file. More...
Inherits IDisposable.
Public Member Functions | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< OlmFolder > > > | get_FolderHierarchy () const |
Gets the folder hierarchy. More... | |
ASPOSE_EMAIL_SHARED_API | OlmStorage (System::String fileName) |
Initializes a new instance of the OlmStorage class. More... | |
ASPOSE_EMAIL_SHARED_API | OlmStorage (System::SharedPtr< System::IO::Stream > stream) |
Initializes a new instance of the OlmStorage class. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Email::Mapi::MapiMessage > > > | EnumerateMessages (System::SharedPtr< OlmFolder > folder) |
Exposes the enumerator, which supports an iteration of messages in folder. More... | |
ASPOSE_EMAIL_SHARED_API void | Dispose () |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
Protected Member Functions | |
virtual ASPOSE_EMAIL_SHARED_API void | Dispose (bool disposing) |
Releases unmanaged and - optionally - managed resources. More... | |
Represents Outlook for Mac storage (.OLM) file.
ASPOSE_EMAIL_SHARED_API Aspose::Email::Storage::Olm::OlmStorage::OlmStorage | ( | System::String | fileName | ) |
Initializes a new instance of the OlmStorage class.
fileName | OLM file name. |
ArgumentNullException | throws if file name is null or empty |
ASPOSE_EMAIL_SHARED_API Aspose::Email::Storage::Olm::OlmStorage::OlmStorage | ( | System::SharedPtr< System::IO::Stream > | stream | ) |
Initializes a new instance of the OlmStorage class.
stream | Source stream System::IO::Stream with OLM storage data. |
ArgumentNullException | throws if stream is null |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Storage::Olm::OlmStorage::Dispose | ( | ) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
protectedvirtual |
Releases unmanaged and - optionally - managed resources.
disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Email::Mapi::MapiMessage> > > Aspose::Email::Storage::Olm::OlmStorage::EnumerateMessages | ( | System::SharedPtr< OlmFolder > | folder | ) |
Exposes the enumerator, which supports an iteration of messages in folder.
folder | OlmFolder that represents information about folder in OLM storage. |
ArgumentNullException | throws if folder is null |
ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<OlmFolder> > > Aspose::Email::Storage::Olm::OlmStorage::get_FolderHierarchy | ( | ) | const |
Gets the folder hierarchy.
The folder hierarchy.