Aspose::Email::Storage::Pst::ItemMovedEventArgs Class Reference

Provides data for the FolderInfo::ItemMoved event More...

Inherits EventArgs.

Public Member Functions

System::SharedPtr< Aspose::Email::Mapi::MapiPropertyCollectionget_ItemProperties () const
 Gets the item properties that has been moved. More...
 
System::String get_EntryId () const
 Gets the string that represents the EntryId of the moved message. More...
 
System::SharedPtr< FolderInfoget_DestinationFolder () const
 Gets the destination folder. More...
 
bool get_IsMessage ()
 Return true, if entry refers to a Message More...
 
bool get_IsFolder ()
 Return true, if entry refers to a Folder More...
 
 ItemMovedEventArgs (System::SharedPtr< MessageInfo > message, System::SharedPtr< FolderInfo > parent)
 Initializes a new instance of the ItemMovedEventArgs class. More...
 
 ItemMovedEventArgs (System::SharedPtr< FolderInfo > folder, System::SharedPtr< FolderInfo > parent)
 Initializes a new instance of the ItemMovedEventArgs class. More...
 
 ItemMovedEventArgs (System::String entryId, System::SharedPtr< Aspose::Email::Mapi::MapiPropertyCollection > properties, System::SharedPtr< FolderInfo > parent)
 Initializes a new instance of the ItemMovedEventArgs class. More...
 
 ItemMovedEventArgs (System::SharedPtr< MessageInfo > message)
 Initializes a new instance of the ItemMovedEventArgs class. More...
 
 ItemMovedEventArgs (System::SharedPtr< FolderInfo > folder)
 Initializes a new instance of the ItemMovedEventArgs class. More...
 
 ItemMovedEventArgs (System::String entryId, System::SharedPtr< Aspose::Email::Mapi::MapiPropertyCollection > properties)
 Initializes a new instance of the ItemMovedEventArgs class. More...
 

Friends

class Aspose::Email::Storage::Pst::FolderInfo
 
class Aspose::Email::Storage::Pst::PersonalStorage
 

Detailed Description

Provides data for the FolderInfo::ItemMoved event

Constructor & Destructor Documentation

◆ ItemMovedEventArgs() [1/6]

Aspose::Email::Storage::Pst::ItemMovedEventArgs::ItemMovedEventArgs ( System::SharedPtr< MessageInfo message,
System::SharedPtr< FolderInfo parent 
)

Initializes a new instance of the ItemMovedEventArgs class.

Parameters
messageThe message.
parent

◆ ItemMovedEventArgs() [2/6]

Aspose::Email::Storage::Pst::ItemMovedEventArgs::ItemMovedEventArgs ( System::SharedPtr< FolderInfo folder,
System::SharedPtr< FolderInfo parent 
)

Initializes a new instance of the ItemMovedEventArgs class.

Parameters
folderThe folder.
parent

◆ ItemMovedEventArgs() [3/6]

Aspose::Email::Storage::Pst::ItemMovedEventArgs::ItemMovedEventArgs ( System::String  entryId,
System::SharedPtr< Aspose::Email::Mapi::MapiPropertyCollection properties,
System::SharedPtr< FolderInfo parent 
)

Initializes a new instance of the ItemMovedEventArgs class.

Parameters
entryIdThe entry identifier.
propertiesThe properties.
parent

◆ ItemMovedEventArgs() [4/6]

Aspose::Email::Storage::Pst::ItemMovedEventArgs::ItemMovedEventArgs ( System::SharedPtr< MessageInfo message)

Initializes a new instance of the ItemMovedEventArgs class.

Parameters
messageThe message.

◆ ItemMovedEventArgs() [5/6]

Aspose::Email::Storage::Pst::ItemMovedEventArgs::ItemMovedEventArgs ( System::SharedPtr< FolderInfo folder)

Initializes a new instance of the ItemMovedEventArgs class.

Parameters
folderThe folder.

◆ ItemMovedEventArgs() [6/6]

Aspose::Email::Storage::Pst::ItemMovedEventArgs::ItemMovedEventArgs ( System::String  entryId,
System::SharedPtr< Aspose::Email::Mapi::MapiPropertyCollection properties 
)

Initializes a new instance of the ItemMovedEventArgs class.

Parameters
entryIdThe entry identifier.
propertiesThe properties.

Member Function Documentation

◆ get_DestinationFolder()

System::SharedPtr<FolderInfo> Aspose::Email::Storage::Pst::ItemMovedEventArgs::get_DestinationFolder ( ) const

Gets the destination folder.

The destination folder.

◆ get_EntryId()

System::String Aspose::Email::Storage::Pst::ItemMovedEventArgs::get_EntryId ( ) const

Gets the string that represents the EntryId of the moved message.

The entry id.

◆ get_IsFolder()

bool Aspose::Email::Storage::Pst::ItemMovedEventArgs::get_IsFolder ( )

Return true, if entry refers to a Folder

◆ get_IsMessage()

bool Aspose::Email::Storage::Pst::ItemMovedEventArgs::get_IsMessage ( )

Return true, if entry refers to a Message

◆ get_ItemProperties()

System::SharedPtr<Aspose::Email::Mapi::MapiPropertyCollection> Aspose::Email::Storage::Pst::ItemMovedEventArgs::get_ItemProperties ( ) const

Gets the item properties that has been moved.

The message.

Friends And Related Function Documentation

◆ Aspose::Email::Storage::Pst::FolderInfo

◆ Aspose::Email::Storage::Pst::PersonalStorage