Aspose::Email::Clients::Pop3::Pop3MessageInfoCollection Class Referencefinal

Represents the information of a mail message from Pop3 server. More...

Inherits System::Collections::ObjectModel::Collection< System::SharedPtr< Aspose::Email::Clients::Pop3::Pop3MessageInfo > >.

Public Member Functions

 Pop3MessageInfoCollection ()
 Initializes a new instance of the Pop3MessageInfoCollection class. More...
 
System::ArrayPtr< System::SharedPtr< Pop3MessageInfo > > GetMessageInfos ()
 
System::SharedPtr< Pop3MessageInfoGetMessage (System::String uniqueId)
 Gets the Pop3MessageInfo of the E-Mail message. More...
 
System::SharedPtr< Pop3MessageInfoGetMessage (int32_t sequenceNumber)
 Gets the Pop3MessageInfo of the E-Mail message. More...
 
void SetTemplateWeakPtr (uint32_t argument) override
 

Protected Member Functions

virtual ~Pop3MessageInfoCollection ()
 

Detailed Description

Represents the information of a mail message from Pop3 server.

Constructor & Destructor Documentation

◆ Pop3MessageInfoCollection()

Aspose::Email::Clients::Pop3::Pop3MessageInfoCollection::Pop3MessageInfoCollection ( )

Initializes a new instance of the Pop3MessageInfoCollection class.

◆ ~Pop3MessageInfoCollection()

virtual Aspose::Email::Clients::Pop3::Pop3MessageInfoCollection::~Pop3MessageInfoCollection ( )
protectedvirtual

Member Function Documentation

◆ GetMessage() [1/2]

System::SharedPtr<Pop3MessageInfo> Aspose::Email::Clients::Pop3::Pop3MessageInfoCollection::GetMessage ( int32_t  sequenceNumber)

Gets the Pop3MessageInfo of the E-Mail message.

Parameters
sequenceNumberSequence number of the E-Mail message.
Returns
Returns Pop3MessageInfo if exists, otherwise returns null.

◆ GetMessage() [2/2]

System::SharedPtr<Pop3MessageInfo> Aspose::Email::Clients::Pop3::Pop3MessageInfoCollection::GetMessage ( System::String  uniqueId)

Gets the Pop3MessageInfo of the E-Mail message.

Parameters
uniqueIdUnique Id of the E-Mail message.
Returns
Returns Pop3MessageInfo if exists, otherwise returns null.

◆ GetMessageInfos()

System::ArrayPtr<System::SharedPtr<Pop3MessageInfo> > Aspose::Email::Clients::Pop3::Pop3MessageInfoCollection::GetMessageInfos ( )

◆ SetTemplateWeakPtr()

void Aspose::Email::Clients::Pop3::Pop3MessageInfoCollection::SetTemplateWeakPtr ( uint32_t  argument)
override