MapiJournal
Contents
[
Hide
]MapiJournal class
Inherits: Aspose::Email::Mapi::MapiMessageItemBase
Represents a MAPI journal item.
This class serves as a wrapper for MapiMessage to simplify the process of handling journal information from MAPI properties. It provides a more intuitive interface for accessing and manipulating journal data within the MAPI message.
The following example demonstrates how to get a MapiJournal object from a MapiMessage .
var msg = MapiMessage.Load("journal.msg");
// Check if the loaded message is a supported journal type
if (msg.SupportedType == MapiItemType.Journal)
{
// Convert the MAPI message to a MapiJournal object
var mapiJournal = (MapiJournal)msg.ToMapiMessageItem();
// Display some journal info
Console.WriteLine(mapiJournal.StartTime);
Console.WriteLine(mapiJournal.Description);
}
Dim msg = MapiMessage.Load("journal.msg")
' Check if the loaded message is a supported journal type
If msg.SupportedType = MapiItemType.Journal Then
' Convert the MAPI message to a MapiJournal object
Dim mapiJournal = DirectCast(msg.ToMapiMessageItem(), MapiJournal)
' Display some journal info
Console.WriteLine(mapiJournal.StartTime)
Console.WriteLine(mapiJournal.Description)
End If
Constructors
| Name | Description |
|---|---|
| MapiJournal (3 overloads) | Initializes a new instance of the MapiJournal class. |
Methods
| Name | Description |
|---|---|
| ConvertToMapiMessage | Converts journal object to mapi message |
| get_BriefDescription | Gets the brief description of activity that is being recorded. |
| get_Description | Gets the description of activity that is being recorded. |
| get_DocumentStatus | Gets the status of document. |
| get_Duration | Gets the duration of the activity. |
| get_EndTime | Gets the time at which the activity ended. |
| get_Flags | Gets a flags that contains metadata about the Journal object. |
| get_StartTime | Gets the time at which the activity began. |
| GetUnderlyingMessage | Retrieves the underlying MapiMessage object. |
| Save (2 overloads) | Saves the specified stream. |
| set_BriefDescription | Sets the brief description of activity that is being recorded. |
| set_Description | Sets the description of activity that is being recorded. |
| set_DocumentStatus | Sets the status of document. |
| set_EndTime | Sets the time at which the activity ended. |
| set_Flags | Sets a flags that contains metadata about the Journal object. |
| set_StartTime | Sets the time at which the activity began. |