public class ItemMovedEventArgs
extends com.aspose.ms.System.EventArgs
Provides data for the FolderInfo.ItemMovedDelegate
event
Constructor and Description |
---|
ItemMovedEventArgs(FolderInfo folder)
Initializes a new instance of the
ItemMovedEventArgs class. |
ItemMovedEventArgs(MessageInfo message)
Initializes a new instance of the
ItemMovedEventArgs class. |
ItemMovedEventArgs(String entryId,
MapiPropertyCollection properties)
Initializes a new instance of the
ItemMovedEventArgs class. |
Modifier and Type | Method and Description |
---|---|
FolderInfo |
getDestinationFolder()
Gets the destination folder.
|
String |
getEntryId()
Gets the string that represents the EntryId of the moved message.
|
MapiPropertyCollection |
getItemProperties()
Gets the item properties that has been moved.
|
boolean |
isFolder()
Return true, if entry refers to a Folder
|
boolean |
isMessage()
Return true, if entry refers to a Message
|
public ItemMovedEventArgs(MessageInfo message)
Initializes a new instance of the ItemMovedEventArgs
class.
message
- The message.public ItemMovedEventArgs(FolderInfo folder)
Initializes a new instance of the ItemMovedEventArgs
class.
folder
- The folder.public ItemMovedEventArgs(String entryId, MapiPropertyCollection properties)
Initializes a new instance of the ItemMovedEventArgs
class.
entryId
- The entry identifier.properties
- The properties.public final MapiPropertyCollection getItemProperties()
Gets the item properties that has been moved.
Value: The message.public final String getEntryId()
Gets the string that represents the EntryId of the moved message.
Value: The entry id.public final FolderInfo getDestinationFolder()
Gets the destination folder.
Value: The destination folder.public final boolean isMessage()
Return true, if entry refers to a Message
public final boolean isFolder()
Return true, if entry refers to a Folder