Represents the Outlook Journal object. More...
Inherits Aspose::Email::Mapi::MapiMessageItemBase.
Public Member Functions | |
System::String | get_BriefDescription () const |
Gets the brief description of activity that is being recorded. More... | |
void | set_BriefDescription (System::String value) |
Sets the brief description of activity that is being recorded. More... | |
System::String | get_Description () const |
Gets the description of activity that is being recorded. More... | |
void | set_Description (System::String value) |
Sets the description of activity that is being recorded. More... | |
System::DateTime | get_StartTime () const |
Gets the time at which the activity began. More... | |
void | set_StartTime (System::DateTime value) |
Sets the time at which the activity began. More... | |
System::DateTime | get_EndTime () const |
Gets the time at which the activity ended. More... | |
void | set_EndTime (System::DateTime value) |
Sets the time at which the activity ended. More... | |
System::TimeSpan | get_Duration () const |
Gets the duration of the activity. More... | |
MapiJournalDocumentStatus | get_DocumentStatus () const |
Gets the status of document. More... | |
void | set_DocumentStatus (MapiJournalDocumentStatus value) |
Sets the status of document. More... | |
MapiJournalFlags | get_Flags () const |
Gets a flags that contains metadata about the Journal object. More... | |
void | set_Flags (MapiJournalFlags value) |
Sets a flags that contains metadata about the Journal object. More... | |
MapiJournal () | |
Initializes a new instance of the MapiJournal class. More... | |
MapiJournal (System::String subject, System::String body, System::String description, System::String briefDescription) | |
Initializes a new instance of the MapiJournal class. More... | |
MapiJournal (System::SharedPtr< MapiMessage > msg) | |
Initializes a new instance of the MapiJournal class. More... | |
void | Save (System::String fileName) |
Saves the specified file name. More... | |
void | Save (System::SharedPtr< System::IO::Stream > stream) |
Saves the specified stream. More... | |
System::SharedPtr< MapiMessage > | ConvertToMapiMessage () override |
Converts journal object to mapi message More... | |
System::SharedPtr< MapiMessage > | GetUnderlyingMessage () |
Retrieves the underlying MapiMessage object. More... | |
![]() | |
virtual System::SharedPtr< MapiPropertyCollection > | get_Properties () |
Gets the collection of properties. More... | |
virtual int32_t | get_CodePage () |
Gets the code page. More... | |
System::SharedPtr< System::Text::Encoding > | get_CurrentEncoding () |
MapiPropertyContainer () | |
Initializes a new instance of the MapiPropertyContainer class. More... | |
MapiPropertyContainer (System::SharedPtr< MapiPropertyCollection > properties) | |
Initializes a new instance of the MapiPropertyContainer class. More... | |
System::SharedPtr< MapiPropertyCollection > | GetSubStorages () |
System::String | TryGetPropertyString (int64_t tag, int32_t codepage) |
Try to get a property data as string with specified tag and code page. More... | |
System::ArrayPtr< uint8_t > | TryGetPropertyData (int64_t tag) |
Try to get the property data with specified tag key. More... | |
System::String | TryGetPropertyString (int64_t tag) |
Try to get a property data as string with specified tag. More... | |
System::String | GetPropertyString (int64_t tag, int32_t codepage) |
Gets the string value of the property specified by tag. More... | |
System::String | GetPropertyString (int64_t tag) |
Gets the string value of the property specified by tag. More... | |
System::ArrayPtr< uint8_t > | GetPropertyBytes (int64_t tag) |
Gets the string value of the property specified by tag. More... | |
virtual void | SetProperty (System::SharedPtr< MapiProperty > value) |
Sets the property. More... | |
System::Nullable< int32_t > | GetPropertyInt32 (int64_t tag) |
Gets the int32 value of the property specified by tag. More... | |
System::Nullable< int64_t > | GetPropertyLong (int64_t tag) |
Gets the value of the property specified by tag as Long (int64) type. More... | |
System::Nullable< int16_t > | GetPropertyShort (int64_t tag) |
Gets the value of the property specified by tag as Short type. More... | |
System::Nullable< bool > | GetPropertyBoolean (int64_t tag) |
Gets the value of the property specified by tag as Boolean type. More... | |
System::Nullable< System::DateTime > | GetPropertyDateTime (int64_t key) |
Gets the value of the property specified by tag as DateTime type. More... | |
bool | IsStoreUnicodeOk () |
Determines if string properties are Unicode encoded or not. More... | |
bool | TryGetPropertyString (int64_t tag, System::String &value, int32_t codepage) |
Gets the value of the specified property as String type. A return value indicates whether the operation succeeded. More... | |
bool | TryGetPropertyString (int64_t tag, System::String &value) |
Gets the value of the specified property as String type. A return value indicates whether the operation succeeded. More... | |
bool | TryGetPropertyDateTime (int64_t tag, System::DateTime &value) |
Gets the value of the specified property as DateTime type. A return value indicates whether the operation succeeded. More... | |
bool | TryGetPropertyLong (int64_t tag, int64_t &value) |
Gets the value of the specified property as Long type. A return value indicates whether the operation succeeded. More... | |
bool | TryGetPropertyInt32 (int64_t tag, int32_t &value) |
Gets the value of the specified property as Int32 type. A return value indicates whether the operation succeeded. More... | |
virtual System::SharedPtr< Nodes::IMapiNode > | CreateMapiNode (System::String key) |
Creates the mapi node. More... | |
void | SetProperty (int64_t tag, System::ArrayPtr< uint8_t > data) |
Set the property. More... | |
void | SetProperty (int64_t tag, System::String value, OutlookMessageFormat format) |
Set the string property. More... | |
void | SetProperty (int64_t tag, System::String value, bool isUnicode) |
Set the string property. More... | |
void | SetProperty (int64_t tag, System::String value, System::SharedPtr< System::Text::Encoding > nonUnicodeEncoding) |
Set the string property. More... | |
void | SetProperty (int64_t tag, System::String value) |
Set the string property with CurrentEncoding More... | |
void | SetProperty (int64_t tag, System::DateTime dateTime) |
Set the datetime property. More... | |
void | SetPropertyLong (int64_t tag, int64_t value) |
Set the long property. More... | |
Friends | |
class | Aspose::Email::Mapi::MapiMessage |
Additional Inherited Members | |
![]() | |
int32_t | codePage |
The code page. More... | |
System::SharedPtr< MapiPropertyCollection > | propertyDictionary |
The property dictionary. More... | |
![]() | |
static const int32_t | DefaultCodePage |
![]() | |
virtual | ~MapiPropertyContainer () |
Represents the Outlook Journal object.
Aspose::Email::Mapi::MapiJournal::MapiJournal | ( | ) |
Initializes a new instance of the MapiJournal class.
Aspose::Email::Mapi::MapiJournal::MapiJournal | ( | System::String | subject, |
System::String | body, | ||
System::String | description, | ||
System::String | briefDescription | ||
) |
Initializes a new instance of the MapiJournal class.
subject | The subject. |
body | The message body. |
description | The description. |
briefDescription | The brief description. |
Aspose::Email::Mapi::MapiJournal::MapiJournal | ( | System::SharedPtr< MapiMessage > | msg | ) |
Initializes a new instance of the MapiJournal class.
msg | The MapiMessage that represents IPM.Activity message class. |
ArgumentException | throws when message class has unexpected value. |
ArgumentNullException | throws when msg is null . |
|
overridevirtual |
Converts journal object to mapi message
Reimplemented from Aspose::Email::Mapi::MapiMessageItemBase.
System::String Aspose::Email::Mapi::MapiJournal::get_BriefDescription | ( | ) | const |
Gets the brief description of activity that is being recorded.
The string that represents activity.
System::String Aspose::Email::Mapi::MapiJournal::get_Description | ( | ) | const |
Gets the description of activity that is being recorded.
The string that represents activity.
MapiJournalDocumentStatus Aspose::Email::Mapi::MapiJournal::get_DocumentStatus | ( | ) | const |
Gets the status of document.
The document status.
System::TimeSpan Aspose::Email::Mapi::MapiJournal::get_Duration | ( | ) | const |
Gets the duration of the activity.
The value that represents duration of the activity.
System::DateTime Aspose::Email::Mapi::MapiJournal::get_EndTime | ( | ) | const |
Gets the time at which the activity ended.
The value that represents time at which the activity ended.
ArgumentException | trows when start time is less than end time. |
MapiJournalFlags Aspose::Email::Mapi::MapiJournal::get_Flags | ( | ) | const |
Gets a flags that contains metadata about the Journal object.
The journal flags.
System::DateTime Aspose::Email::Mapi::MapiJournal::get_StartTime | ( | ) | const |
Gets the time at which the activity began.
The value that represents time at which the activity began.
ArgumentException | trows when start time is less than end time. |
System::SharedPtr<MapiMessage> Aspose::Email::Mapi::MapiJournal::GetUnderlyingMessage | ( | ) |
Retrieves the underlying MapiMessage object.
void Aspose::Email::Mapi::MapiJournal::Save | ( | System::SharedPtr< System::IO::Stream > | stream | ) |
Saves the specified stream.
stream | The stream. |
void Aspose::Email::Mapi::MapiJournal::Save | ( | System::String | fileName | ) |
Saves the specified file name.
fileName | Name of the file. |
void Aspose::Email::Mapi::MapiJournal::set_BriefDescription | ( | System::String | value | ) |
Sets the brief description of activity that is being recorded.
The string that represents activity.
void Aspose::Email::Mapi::MapiJournal::set_Description | ( | System::String | value | ) |
Sets the description of activity that is being recorded.
The string that represents activity.
void Aspose::Email::Mapi::MapiJournal::set_DocumentStatus | ( | MapiJournalDocumentStatus | value | ) |
Sets the status of document.
The document status.
void Aspose::Email::Mapi::MapiJournal::set_EndTime | ( | System::DateTime | value | ) |
Sets the time at which the activity ended.
The value that represents time at which the activity ended.
ArgumentException | trows when start time is less than end time. |
void Aspose::Email::Mapi::MapiJournal::set_Flags | ( | MapiJournalFlags | value | ) |
Sets a flags that contains metadata about the Journal object.
The journal flags.
void Aspose::Email::Mapi::MapiJournal::set_StartTime | ( | System::DateTime | value | ) |
Sets the time at which the activity began.
The value that represents time at which the activity began.
ArgumentException | trows when start time is less than end time. |
|
friend |