Aspose::Email::Storage::Olm::OlmFolder Class Reference

Represents folder information in OLM storage. More...

Inherits Object.

Public Member Functions

ASPOSE_EMAIL_SHARED_API System::String get_Name () const
 Gets the folder name. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< OlmFolder > > > get_SubFolders () const
 Gets the list of sub-folders. More...
 
ASPOSE_EMAIL_SHARED_API bool get_HasMessages ()
 Gets a value indicating whether the current folder has messages. More...
 
ASPOSE_EMAIL_SHARED_API int32_t get_MessageCount () const
 Gets the message count. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Path () const
 Gets the path. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_FullPath () const
 Gets the full path. More...
 
ASPOSE_EMAIL_SHARED_API int32_t get_Depth () const
 Gets the depth. More...
 
ASPOSE_EMAIL_SHARED_API OlmFolder (System::String fullPath)
 Initializes a new instance of the OlmFolder class. More...
 
ASPOSE_EMAIL_SHARED_API void IncreaseMessageCount (int32_t count)
 Increases the message count. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToString () const
 Returns a System::String that represents this instance. More...
 

Friends

class Aspose::Email::Storage::Olm::OlmReader
 

Detailed Description

Represents folder information in OLM storage.

Constructor & Destructor Documentation

◆ OlmFolder()

ASPOSE_EMAIL_SHARED_API Aspose::Email::Storage::Olm::OlmFolder::OlmFolder ( System::String  fullPath)

Initializes a new instance of the OlmFolder class.

Parameters
fullPathThe full path.

Member Function Documentation

◆ get_Depth()

ASPOSE_EMAIL_SHARED_API int32_t Aspose::Email::Storage::Olm::OlmFolder::get_Depth ( ) const

Gets the depth.

The depth.

◆ get_FullPath()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Storage::Olm::OlmFolder::get_FullPath ( ) const

Gets the full path.

The full path.

◆ get_HasMessages()

ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Storage::Olm::OlmFolder::get_HasMessages ( )

Gets a value indicating whether the current folder has messages.

Returns
true if the current folder has messages; otherwise, false.

◆ get_MessageCount()

ASPOSE_EMAIL_SHARED_API int32_t Aspose::Email::Storage::Olm::OlmFolder::get_MessageCount ( ) const

Gets the message count.

The message count.

◆ get_Name()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Storage::Olm::OlmFolder::get_Name ( ) const

Gets the folder name.

The name.

◆ get_Path()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Storage::Olm::OlmFolder::get_Path ( ) const

Gets the path.

The folder path.

◆ get_SubFolders()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<OlmFolder> > > Aspose::Email::Storage::Olm::OlmFolder::get_SubFolders ( ) const

Gets the list of sub-folders.

The list of sub-folders.

◆ IncreaseMessageCount()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Storage::Olm::OlmFolder::IncreaseMessageCount ( int32_t  count)

Increases the message count.

◆ ToString()

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Storage::Olm::OlmFolder::ToString ( ) const
virtual

Returns a System::String that represents this instance.

Returns
A System::String that represents this instance.

Friends And Related Function Documentation

◆ Aspose::Email::Storage::Olm::OlmReader

friend class Aspose::Email::Storage::Olm::OlmReader
friend