ItemMovedEventArgs

Inheritance: java.lang.Object, com.aspose.ms.System.EventArgs

public class ItemMovedEventArgs extends System.EventArgs

Provides data for the FolderInfo#ItemMovedDelegate event

Constructors

Constructor Description
ItemMovedEventArgs(MessageInfo message) Initializes a new instance of the ItemMovedEventArgs class.
ItemMovedEventArgs(FolderInfo folder) Initializes a new instance of the ItemMovedEventArgs class.
ItemMovedEventArgs(String entryId, MapiPropertyCollection properties) Initializes a new instance of the ItemMovedEventArgs class.

Methods

Method Description
getItemProperties() Gets the item properties that has been moved.
getEntryId() Gets the string that represents the EntryId of the moved message.
getDestinationFolder() Gets the destination folder.
isMessage() Return true, if entry refers to a Message
isFolder() Return true, if entry refers to a Folder

ItemMovedEventArgs(MessageInfo message)

public ItemMovedEventArgs(MessageInfo message)

Initializes a new instance of the ItemMovedEventArgs class.

Parameters:

Parameter Type Description
message MessageInfo The message.

ItemMovedEventArgs(FolderInfo folder)

public ItemMovedEventArgs(FolderInfo folder)

Initializes a new instance of the ItemMovedEventArgs class.

Parameters:

Parameter Type Description
folder FolderInfo The folder.

ItemMovedEventArgs(String entryId, MapiPropertyCollection properties)

public ItemMovedEventArgs(String entryId, MapiPropertyCollection properties)

Initializes a new instance of the ItemMovedEventArgs class.

Parameters:

Parameter Type Description
entryId java.lang.String The entry identifier.
properties MapiPropertyCollection The properties.

getItemProperties()

public final MapiPropertyCollection getItemProperties()

Gets the item properties that has been moved.

Value: The message.

Returns: MapiPropertyCollection

getEntryId()

public final String getEntryId()

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

Value: The entry id.

Returns: java.lang.String

getDestinationFolder()

public final FolderInfo getDestinationFolder()

Gets the destination folder.

Value: The destination folder.

Returns: FolderInfo

isMessage()

public final boolean isMessage()

Return true, if entry refers to a Message

Returns: boolean

isFolder()

public final boolean isFolder()

Return true, if entry refers to a Folder

Returns: boolean