Aspose::Email::Mapi::MapiCalendar Class Referencefinal

Represents the mapi calendar object More...

Inherits Aspose::Email::Mapi::MapiMessageItemBase.

Public Member Functions

System::SharedPtr< MapiElectronicAddressget_Organizer () const
 Gets the organizer. More...
 
void set_Organizer (System::SharedPtr< MapiElectronicAddress > value)
 Sets the organizer. More...
 
int32_t get_ReminderDelta () const
 Gets the interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object More...
 
void set_ReminderDelta (int32_t value)
 Sets the interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object More...
 
bool get_ReminderSet () const
 Gets a value indicating whether a reminder is set on the object More...
 
void set_ReminderSet (bool value)
 Sets a value indicating whether a reminder is set on the object More...
 
System::String get_ReminderFileParameter () const
 Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue. More...
 
void set_ReminderFileParameter (System::String value)
 Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue. More...
 
bool get_AppointmentCounterProposal () const
 Gets a value indicating whether a Meeting Response object is a counter proposal. More...
 
void set_AppointmentCounterProposal (bool value)
 Sets a value indicating whether a Meeting Response object is a counter proposal. More...
 
MapiCalendarClientIntent get_ClientIntent () const
 Gets the actions the user has taken on this Meeting object. More...
 
void set_ClientIntent (MapiCalendarClientIntent value)
 Sets the actions the user has taken on this Meeting object. More...
 
System::SharedPtr< MapiCalendarTimeZoneget_StartDateTimeZone () const
 Gets time zone information that indicates the time zone of the StartDate property More...
 
void set_StartDateTimeZone (System::SharedPtr< MapiCalendarTimeZone > value)
 Sets time zone information that indicates the time zone of the StartDate property More...
 
System::SharedPtr< MapiCalendarTimeZoneget_EndDateTimeZone () const
 Gets time zone information that indicates the time zone of the EndDate property More...
 
void set_EndDateTimeZone (System::SharedPtr< MapiCalendarTimeZone > value)
 Sets time zone information that indicates the time zone of the EndDate property More...
 
System::SharedPtr< MapiCalendarAttendeesget_Attendees () const
 Gets the attendees More...
 
void set_Attendees (System::SharedPtr< MapiCalendarAttendees > value)
 Sets the attendees More...
 
System::SharedPtr< MapiCalendarEventRecurrenceget_Recurrence ()
 Gets the recurrence properties More...
 
void set_Recurrence (System::SharedPtr< MapiCalendarEventRecurrence > value)
 Sets the recurrence properties More...
 
bool get_IsAllDay () const
 Gets a value indicating whether the event is an all-day event More...
 
void set_IsAllDay (bool value)
 Sets a value indicating whether the event is an all-day event More...
 
System::String get_KeyWords () const
 Gets the categories of the calendar object More...
 
void set_KeyWords (System::String value)
 Sets the categories of the calendar object More...
 
System::DateTime get_StartDate ()
 Gets the start date and time of the event. If the date is not set, default value for DateTime is returned. More...
 
void set_StartDate (System::DateTime value)
 Sets the start date and time of the event. If the date is not set, default value for DateTime is returned. More...
 
System::DateTime get_EndDate ()
 Gets the end date and time of the event. If the date is not set, default value for DateTime is returned. More...
 
void set_EndDate (System::DateTime value)
 Sets the end date and time of the event. If the date is not set, default value for DateTime is returned. More...
 
int32_t get_Sequence ()
 Gets the sequence number More...
 
void set_Sequence (int32_t value)
 Sets the sequence number More...
 
MapiCalendarBusyStatus get_BusyStatus ()
 Gets the busy status More...
 
void set_BusyStatus (MapiCalendarBusyStatus value)
 Sets the busy status More...
 
System::String get_Location ()
 Gets the location of the event More...
 
void set_Location (System::String value)
 Sets the location of the event More...
 
System::SharedPtr< MapiAttachmentCollectionget_Attachments () const
 Gets the attachment collection. More...
 
System::String get_Uid ()
 Gets the unique identifier More...
 
void set_Uid (System::String value)
 Gets the unique identifier More...
 
MapiCalendarAuxiliaryFlags get_AuxiliaryFlags ()
 Gets the auxiliary state More...
 
void set_AuxiliaryFlags (MapiCalendarAuxiliaryFlags value)
 Sets the auxiliary state More...
 
MapiCalendarState get_State ()
 Gets the state of the calendar object More...
 
void set_State (MapiCalendarState value)
 Sets the state of the calendar object More...
 
 MapiCalendar ()
 // Specifies the address of meeting organizer. // More...
 
 MapiCalendar (System::String location, System::String summary, System::String description, System::DateTime startDate, System::DateTime endDate)
 Initializes a new instance of the MapiCalendar class. More...
 
 MapiCalendar (System::String location, System::DateTime startDate, System::DateTime endDate, System::String organizer, System::SharedPtr< MapiRecipientCollection > attendees)
 Initializes a new instance of the MapiCalendar class. More...
 
 MapiCalendar (System::String location, System::String summary, System::String description, System::DateTime startDate, System::DateTime endDate, System::String organizer, System::SharedPtr< MapiRecipientCollection > attendees)
 Initializes a new instance of the MapiCalendar class. More...
 
 MapiCalendar (System::String location, System::String summary, System::String description, System::DateTime startDate, System::DateTime endDate, System::SharedPtr< MapiElectronicAddress > organizer, System::SharedPtr< MapiRecipientCollection > attendees)
 Initializes a new instance of the MapiCalendar class. More...
 
 MapiCalendar (System::SharedPtr< MapiMessage > msg)
 Initializes a new instance of the MapiCalendar class More...
 
 MapiCalendar (System::SharedPtr< MapiMessageItemBase > msg, bool checkMessageClass)
 
 MapiCalendar (int64_t storeSupportMask)
 
System::SharedPtr< MapiMessageConvertToMapiMessage () override
 Converts the task object to mapi message More...
 
System::SharedPtr< MapiMessageGetUnderlyingMessage ()
 Retrieves the underlying MapiMessage object. More...
 
void Save (System::String filePath, System::SharedPtr< MapiCalendarSaveOptions > saveOptions)
 Saves calendar object to the file with specified format using te default save options More...
 
void Save (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< MapiCalendarSaveOptions > saveOptions)
 Saves calendar to the stream with specified save options More...
 
void Save (System::String filePath)
 Saves calendar object to the file with iCalendar format using te default save options More...
 
void Save (System::String filePath, Aspose::Email::Calendar::AppointmentSaveFormat saveFormat)
 Saves calendar object to the file with specified format using te default save options More...
 
void Save (System::SharedPtr< System::IO::Stream > stream)
 Saves calendar object to the file with iCalendar format using te default save options More...
 
void Save (System::SharedPtr< System::IO::Stream > stream, Aspose::Email::Calendar::AppointmentSaveFormat saveFormat)
 Saves calendar object to the stream with specified format using te default save options More...
 
System::SharedPtr< Aspose::Email::Calendar::Model::CalendarObject > ToIcalendar (System::SharedPtr< MapiCalendarIcsSaveOptions > saveOptions)
 Converts this MapiCalendar into CalendarObject More...
 
void Dispose () override
 Releases all resources. More...
 
- Public Member Functions inherited from Aspose::Email::Mapi::MapiMessageItemBase
virtual System::String get_ItemId ()
 The item id, uses with a server More...
 
virtual void set_ItemId (System::String value)
 The item id, uses with a server More...
 
System::SharedPtr< MapiAttachmentCollectionget_Attachments ()
 Gets the attachments in the message. More...
 
void set_Attachments (System::SharedPtr< MapiAttachmentCollection > value)
 Gets the attachments in the message. More...
 
System::SharedPtr< MapiPropertyStreamget_PropertyStream ()
 Gets the property stream. More...
 
System::SharedPtr< MapiPropertyCollectionget_NamedProperties ()
 Gets the named properties of message. More...
 
System::SharedPtr< MapiRecipientCollectionget_Recipients ()
 Gets the recipients of the message. More...
 
void set_Recipients (System::SharedPtr< MapiRecipientCollection > value)
 Gets the recipients of the message. More...
 
System::SharedPtr< MapiPropertyCollectionget_SubStorages ()
 Gets the sub storages. More...
 
System::SharedPtr< MapiNamedPropertyMappingStorageget_NamedPropertyMapping ()
 Gets the named property mapping. More...
 
System::String get_SubjectPrefix ()
 Gets a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding. More...
 
BodyContentType get_BodyType ()
 Gets the type of the body. More...
 
System::String get_BodyRtf ()
 Gets the RTF formatted message text. More...
 
void set_BodyRtf (System::String value)
 Sets the RTF formatted message text. More...
 
System::String get_BodyHtml ()
 Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. More...
 
System::ArrayPtr< System::String > get_Companies ()
 Contains the names of the companies that are associated with an item. More...
 
void set_Companies (System::ArrayPtr< System::String > value)
 Contains the names of the companies that are associated with an item. More...
 
System::ArrayPtr< System::String > get_Categories ()
 Contains keywords or categories for the message object. More...
 
void set_Categories (System::ArrayPtr< System::String > value)
 Contains keywords or categories for the message object. More...
 
System::String get_Mileage ()
 Contains the mileage information that is associated with an item. More...
 
void set_Mileage (System::String value)
 Contains the mileage information that is associated with an item. More...
 
System::String get_Billing ()
 Contains the billing information associated with an item. More...
 
void set_Billing (System::String value)
 Contains the billing information associated with an item. More...
 
Aspose::Email::Storage::Pst::MapiSensitivity get_Sensitivity ()
 Gets the Sensitivity. More...
 
void set_Sensitivity (Aspose::Email::Storage::Pst::MapiSensitivity value)
 Gets the Sensitivity. More...
 
System::String get_MessageClass () override
 Gets a case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. More...
 
void set_MessageClass (System::String value)
 Gets a case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. More...
 
MapiItemType get_SupportedType () override
 Gets the supported item type. More...
 
System::String get_Body () override
 Gets the message text. More...
 
void set_Body (System::String value) override
 Gets the message text. More...
 
System::String get_Subject () override
 Gets the subject of the message. More...
 
void set_Subject (System::String value) override
 Sets the subject of the message. More...
 
System::SharedPtr< System::Object > get_VentureLicenseObj () const
 This stores the venture licensing state instead of 2 obvious fields such as string value for watermark and some value indicating license is set or not. More...
 
System::SharedPtr< MapiPropertyGetProperty (System::SharedPtr< PropertyDescriptor > pd) override
 Gets MAPI property by property descriptor. More...
 
bool TryGetNamedProperty (System::SharedPtr< MapiProperty > mapiProperty, System::SharedPtr< MapiNamedProperty > &mapiNamedProperty) override
 If MapiNamedPropertyMappingStorage is available, initializes and returns MapiNamedProperty, otherwise null. More...
 
void SetProperty (System::SharedPtr< PropertyDescriptor > pd, System::SharedPtr< System::Object > value) override
 Sets MAPI property. More...
 
void SetStringNamedProperty (System::String value, MapiNamedPropertyId nameId, System::Guid psetId)
 
void SetsIMapiMessageItemMembers (System::String messageClass, System::String body, System::String subject)
 Sets MessageClass,Body and Subject. More...
 
void Dispose () override
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 
void SetNamedPropertyMapping (System::SharedPtr< MapiNamedPropertyMappingStorage > value)
 Sets the named property mapping. More...
 
int64_t GetTagFromNamedProperty (MapiNamedPropertyId propertyId)
 Gets the tag from named property. More...
 
int64_t GetTagFromNamedProperty (System::String name)
 Gets the tag from named property. More...
 
void AddNamedProperty (MapiPropertyType type, System::ArrayPtr< uint8_t > data, int64_t nameId, System::Guid guid)
 Adds the named property. More...
 
void AddNamedProperty (System::SharedPtr< MapiAttachment > attachment, MapiPropertyType type, System::ArrayPtr< uint8_t > data, int64_t nameId, System::Guid guid)
 Adds the named property. More...
 
void AddNamedProperty (MapiPropertyType type, System::ArrayPtr< uint8_t > data, int64_t nameId, System::Guid guid, System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> mvEntries)
 Adds the named property. More...
 
void AddNamedProperty (MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::String nameId, System::Guid guid)
 Adds the named property. More...
 
void AddNamedProperty (System::SharedPtr< MapiAttachment > attachment, MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::String nameId, System::Guid guid)
 Adds the named property. More...
 
void AddNamedProperty (MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::String nameId, System::Guid guid, System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> mvEntries)
 Adds the named property. More...
 
int64_t AddNamedPropertyToEmbeddedMsg (System::SharedPtr< MapiMessage > msg, MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::SharedPtr< System::Object > nameId, System::Guid guid)
 Adds the named property to embedded message. More...
 
void SetBodyRtf (System::String content, bool compression)
 Gets or sets the RTF formatted message text. More...
 
virtual void SetBodyContent (System::String content, BodyContentType contentType)
 Sets the content of the body. More...
 
virtual void SetBodyContent (System::String content, BodyContentType contentType, bool compression)
 Sets the content of the body. More...
 
void SetMessageFlags (MapiMessageFlags flags)
 Sets the message flags. More...
 
void RemoveProperty (int64_t tag)
 Provides correctly removing property from all collections. More...
 
void SetVentureLicense (System::SharedPtr< System::Object > ventureLicense)
 All Aspose products should implement this method. It is called by a GroupDocs product to indicate whether GroupDocs itself is licensed or not and specify a custom watermark. When GroupDocs is licensed, this document instance should behave as licensed too even if the Aspose product is not licensed. More...
 
void UpdateHasAttach ()
 Updates the PR_HASATTACH property value. More...
 
MapiMessageFlags GetFlags ()
 
void UpdateDisplayNames (MapiRecipientType recipientType)
 Updates the display names. More...
 
void AddNamedProperty (System::DateTime value, int64_t nameId, System::Guid guid)
 Adds the named datetime property. More...
 
void AddNamedProperty (System::DateTime value, MapiNamedPropertyId nameId, System::Guid guid)
 Adds the named datetime property. More...
 
void AddNamedProperty (bool value, MapiNamedPropertyId nameId, System::Guid guid)
 Adds the named bool property. More...
 
void AddNamedProperty (bool value, int64_t nameId, System::Guid guid)
 Adds the named bool property. More...
 
void AddNamedPropertyLong (int64_t value, MapiNamedPropertyId nameId, System::Guid guid)
 Adds the named long property. More...
 
void AddNamedPropertyLong (int64_t value, int64_t nameId, System::Guid guid)
 Adds the named long property. More...
 
void AddNamedProperty (System::String value, OutlookMessageFormat format, MapiNamedPropertyId nameId, System::Guid guid)
 Adds the named string property. More...
 
void AddNamedProperty (System::String value, MapiNamedPropertyId nameId, System::Guid guid)
 Adds the named string property. More...
 
void AddNamedProperty (System::String value, OutlookMessageFormat format, int64_t nameId, System::Guid guid)
 Adds the named string property. More...
 
void AddNamedProperty (System::ArrayPtr< uint8_t > value, int64_t nameId, System::Guid guid)
 Adds the named binary property. More...
 
void AddNamedProperty (System::ArrayPtr< uint8_t > value, MapiNamedPropertyId nameId, System::Guid guid)
 Adds the named binary property. More...
 
- Public Member Functions inherited from Aspose::Email::Mapi::MapiPropertyContainer
virtual System::SharedPtr< MapiPropertyCollectionget_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< MapiPropertyCollectionGetSubStorages ()
 
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...
 

Protected Member Functions

virtual ~MapiCalendar ()
 
- Protected Member Functions inherited from Aspose::Email::Mapi::MapiMessageItemBase
 MapiMessageItemBase ()
 Initializes a new instance of the MapiMessageItemBase class. More...
 
 MapiMessageItemBase (System::SharedPtr< MapiPropertyCollection > properties)
 Initializes a new instance of the MapiMessageItemBase class. More...
 
void CheckIsDisposed ()
 Checks if the object is disposed and raised exception in this case. More...
 
void InitNamedPropertyMappingStorage ()
 Inits the named property mapping storage. More...
 
System::SharedPtr< MapiNamedPropertyCreateNamedProperty (MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::String nameId, System::Guid guid)
 
virtual ~MapiMessageItemBase ()
 
- Protected Member Functions inherited from Aspose::Email::Mapi::MapiPropertyContainer
virtual ~MapiPropertyContainer ()
 

Friends

class Aspose::Email::Calendar::Appointment
 
class Aspose::Email::Clients::Exchange::WebService::CalendarEwsConverter
 
class Aspose::Email::Tools::CalendarConverter
 
class Aspose::Email::Mapi::MapiCalendarEventRecurrence
 
class Aspose::Email::Mapi::MapiCalendarExceptionInfo
 
class Aspose::Email::Mapi::MapiCalendarRecurrencePatternFactory
 
class Aspose::Email::Mapi::MapiMessage
 

Additional Inherited Members

- Static Public Member Functions inherited from Aspose::Email::Mapi::MapiMessageItemBase
static void SetPriority (System::SharedPtr< MapiMessageItemBase > message, MailPriority priority)
 Sets MailPriority value for MapiMessageItemBase See more PidTagPriority mapi property: https://msdn.microsoft.com/en-us/library/ee159473(v=exchg.80).aspx See more PidTagImportance mapi property: https://msdn.microsoft.com/en-us/library/ee237166(v=exchg.80).aspx More...
 
static int64_t GetTagFromNamedProperty (MapiNamedPropertyId propertyId, System::SharedPtr< MapiPropertyCollection > namedProperties)
 
static int64_t GetTagFromNamedProperty (System::String name, System::SharedPtr< MapiPropertyCollection > namedProperties)
 
- Public Attributes inherited from Aspose::Email::Mapi::MapiMessageItemBase
System::SharedPtr< MapiNamedPropertyMappingStoragenamedPropertyMappingStorage
 The named property mapping storage. More...
 
- Public Attributes inherited from Aspose::Email::Mapi::MapiPropertyContainer
int32_t codePage
 The code page. More...
 
System::SharedPtr< MapiPropertyCollectionpropertyDictionary
 The property dictionary. More...
 
- Static Public Attributes inherited from Aspose::Email::Mapi::MapiPropertyContainer
static const int32_t DefaultCodePage
 
- Protected Attributes inherited from Aspose::Email::Mapi::MapiMessageItemBase
System::SharedPtr< MapiAttachmentCollectionattachments
 The collection of attachments. More...
 
System::SharedPtr< MapiRecipientCollectionrecipients
 The collection of recipients. More...
 

Detailed Description

Represents the mapi calendar object

Constructor & Destructor Documentation

◆ MapiCalendar() [1/8]

Aspose::Email::Mapi::MapiCalendar::MapiCalendar ( )

// Specifies the address of meeting organizer. //

//

//

// Specifies the display name of meeting organizer. //

◆ MapiCalendar() [2/8]

Aspose::Email::Mapi::MapiCalendar::MapiCalendar ( System::String  location,
System::String  summary,
System::String  description,
System::DateTime  startDate,
System::DateTime  endDate 
)

Initializes a new instance of the MapiCalendar class.

Parameters
locationThe appointment location.
summaryThe appointment summary.
descriptionThe appointment description.
startDateThe start date.
endDateThe end date.

◆ MapiCalendar() [3/8]

Aspose::Email::Mapi::MapiCalendar::MapiCalendar ( System::String  location,
System::DateTime  startDate,
System::DateTime  endDate,
System::String  organizer,
System::SharedPtr< MapiRecipientCollection attendees 
)

Initializes a new instance of the MapiCalendar class.

Parameters
locationThe meeting location.
startDateThe start date.
endDateThe end date.
organizerThe meeting organizer address.
attendeesThe meeting attendees.

◆ MapiCalendar() [4/8]

Aspose::Email::Mapi::MapiCalendar::MapiCalendar ( System::String  location,
System::String  summary,
System::String  description,
System::DateTime  startDate,
System::DateTime  endDate,
System::String  organizer,
System::SharedPtr< MapiRecipientCollection attendees 
)

Initializes a new instance of the MapiCalendar class.

Parameters
locationThe meeting location.
summaryThe meeting summary.
descriptionThe meeting description.
startDateThe start date.
endDateThe end date.
organizerThe meeting organizer address.
attendeesThe meeting attendees.

◆ MapiCalendar() [5/8]

Aspose::Email::Mapi::MapiCalendar::MapiCalendar ( System::String  location,
System::String  summary,
System::String  description,
System::DateTime  startDate,
System::DateTime  endDate,
System::SharedPtr< MapiElectronicAddress organizer,
System::SharedPtr< MapiRecipientCollection attendees 
)

Initializes a new instance of the MapiCalendar class.

Parameters
locationThe meeting location.
summaryThe meeting summary.
descriptionThe meeting description.
startDateThe start date.
endDateThe end date.
organizerThe meeting organizer.
attendeesThe meeting attendees.

◆ MapiCalendar() [6/8]

Aspose::Email::Mapi::MapiCalendar::MapiCalendar ( System::SharedPtr< MapiMessage msg)

Initializes a new instance of the MapiCalendar class

Parameters
msgA MapiMessage whose class name is IPM.Appointment or starts with IPM.Appointment. or IPM.Schedule.meeting.
Exceptions
ArgumentExceptionUnexpected message class
ArgumentNullExceptionmsg is null

◆ MapiCalendar() [7/8]

Aspose::Email::Mapi::MapiCalendar::MapiCalendar ( System::SharedPtr< MapiMessageItemBase msg,
bool  checkMessageClass 
)

◆ MapiCalendar() [8/8]

Aspose::Email::Mapi::MapiCalendar::MapiCalendar ( int64_t  storeSupportMask)

◆ ~MapiCalendar()

virtual Aspose::Email::Mapi::MapiCalendar::~MapiCalendar ( )
protectedvirtual

Member Function Documentation

◆ ConvertToMapiMessage()

System::SharedPtr<MapiMessage> Aspose::Email::Mapi::MapiCalendar::ConvertToMapiMessage ( )
overridevirtual

Converts the task object to mapi message

Returns
MapiMessage that represents a MAPI message

Reimplemented from Aspose::Email::Mapi::MapiMessageItemBase.

◆ Dispose()

void Aspose::Email::Mapi::MapiCalendar::Dispose ( )
override

Releases all resources.

◆ get_AppointmentCounterProposal()

bool Aspose::Email::Mapi::MapiCalendar::get_AppointmentCounterProposal ( ) const

Gets a value indicating whether a Meeting Response object is a counter proposal.

◆ get_Attachments()

System::SharedPtr<MapiAttachmentCollection> Aspose::Email::Mapi::MapiCalendar::get_Attachments ( ) const

Gets the attachment collection.

◆ get_Attendees()

System::SharedPtr<MapiCalendarAttendees> Aspose::Email::Mapi::MapiCalendar::get_Attendees ( ) const

Gets the attendees

◆ get_AuxiliaryFlags()

MapiCalendarAuxiliaryFlags Aspose::Email::Mapi::MapiCalendar::get_AuxiliaryFlags ( )

Gets the auxiliary state

◆ get_BusyStatus()

MapiCalendarBusyStatus Aspose::Email::Mapi::MapiCalendar::get_BusyStatus ( )

Gets the busy status

◆ get_ClientIntent()

MapiCalendarClientIntent Aspose::Email::Mapi::MapiCalendar::get_ClientIntent ( ) const

Gets the actions the user has taken on this Meeting object.

◆ get_EndDate()

System::DateTime Aspose::Email::Mapi::MapiCalendar::get_EndDate ( )

Gets the end date and time of the event. If the date is not set, default value for DateTime is returned.

◆ get_EndDateTimeZone()

System::SharedPtr<MapiCalendarTimeZone> Aspose::Email::Mapi::MapiCalendar::get_EndDateTimeZone ( ) const

Gets time zone information that indicates the time zone of the EndDate property

◆ get_IsAllDay()

bool Aspose::Email::Mapi::MapiCalendar::get_IsAllDay ( ) const

Gets a value indicating whether the event is an all-day event

◆ get_KeyWords()

System::String Aspose::Email::Mapi::MapiCalendar::get_KeyWords ( ) const

Gets the categories of the calendar object

◆ get_Location()

System::String Aspose::Email::Mapi::MapiCalendar::get_Location ( )

Gets the location of the event

◆ get_Organizer()

System::SharedPtr<MapiElectronicAddress> Aspose::Email::Mapi::MapiCalendar::get_Organizer ( ) const

Gets the organizer.

◆ get_Recurrence()

System::SharedPtr<MapiCalendarEventRecurrence> Aspose::Email::Mapi::MapiCalendar::get_Recurrence ( )

Gets the recurrence properties

◆ get_ReminderDelta()

int32_t Aspose::Email::Mapi::MapiCalendar::get_ReminderDelta ( ) const

Gets the interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object

◆ get_ReminderFileParameter()

System::String Aspose::Email::Mapi::MapiCalendar::get_ReminderFileParameter ( ) const

Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.

◆ get_ReminderSet()

bool Aspose::Email::Mapi::MapiCalendar::get_ReminderSet ( ) const

Gets a value indicating whether a reminder is set on the object

◆ get_Sequence()

int32_t Aspose::Email::Mapi::MapiCalendar::get_Sequence ( )

Gets the sequence number

◆ get_StartDate()

System::DateTime Aspose::Email::Mapi::MapiCalendar::get_StartDate ( )

Gets the start date and time of the event. If the date is not set, default value for DateTime is returned.

◆ get_StartDateTimeZone()

System::SharedPtr<MapiCalendarTimeZone> Aspose::Email::Mapi::MapiCalendar::get_StartDateTimeZone ( ) const

Gets time zone information that indicates the time zone of the StartDate property

◆ get_State()

MapiCalendarState Aspose::Email::Mapi::MapiCalendar::get_State ( )

Gets the state of the calendar object

◆ get_Uid()

System::String Aspose::Email::Mapi::MapiCalendar::get_Uid ( )

Gets the unique identifier

◆ GetUnderlyingMessage()

System::SharedPtr<MapiMessage> Aspose::Email::Mapi::MapiCalendar::GetUnderlyingMessage ( )

Retrieves the underlying MapiMessage object.

Returns
The MapiMessage object.

◆ Save() [1/6]

void Aspose::Email::Mapi::MapiCalendar::Save ( System::SharedPtr< System::IO::Stream >  stream)

Saves calendar object to the file with iCalendar format using te default save options

Parameters
streamA stream to save to
Exceptions
ArgumentNullExceptionstream is null
NotSupportedExceptionstream does not support writing

◆ Save() [2/6]

void Aspose::Email::Mapi::MapiCalendar::Save ( System::SharedPtr< System::IO::Stream >  stream,
Aspose::Email::Calendar::AppointmentSaveFormat  saveFormat 
)

Saves calendar object to the stream with specified format using te default save options

Parameters
streamA stream to save to
saveFormatA save format
Exceptions
ArgumentNullExceptionstream is null
NotSupportedExceptionThe specified saveFormat is not supported
NotSupportedExceptionstream does not support writing

◆ Save() [3/6]

void Aspose::Email::Mapi::MapiCalendar::Save ( System::SharedPtr< System::IO::Stream >  stream,
System::SharedPtr< MapiCalendarSaveOptions saveOptions 
)

Saves calendar to the stream with specified save options

Parameters
streamA stream to save to
saveOptionsA save options
Exceptions
ArgumentNullExceptionsaveOptions or stream is null
NotSupportedExceptionthe specified save options are not supported
NotSupportedExceptionstream does not support writing

◆ Save() [4/6]

void Aspose::Email::Mapi::MapiCalendar::Save ( System::String  filePath)

Saves calendar object to the file with iCalendar format using te default save options

Parameters
filePathA file path
Exceptions
ArgumentExceptionfilePath is null or empty

◆ Save() [5/6]

void Aspose::Email::Mapi::MapiCalendar::Save ( System::String  filePath,
Aspose::Email::Calendar::AppointmentSaveFormat  saveFormat 
)

Saves calendar object to the file with specified format using te default save options

Parameters
filePathA file path
saveFormatA save format
Exceptions
ArgumentExceptionfilePath is null or empty
NotSupportedExceptionThe specified saveFormat is not supported

◆ Save() [6/6]

void Aspose::Email::Mapi::MapiCalendar::Save ( System::String  filePath,
System::SharedPtr< MapiCalendarSaveOptions saveOptions 
)

Saves calendar object to the file with specified format using te default save options

Parameters
filePathA file path
saveOptionsA save options
Exceptions
ArgumentExceptionfilePath is null or empty
NotSupportedExceptionthe specified save options are not supported

◆ set_AppointmentCounterProposal()

void Aspose::Email::Mapi::MapiCalendar::set_AppointmentCounterProposal ( bool  value)

Sets a value indicating whether a Meeting Response object is a counter proposal.

◆ set_Attendees()

void Aspose::Email::Mapi::MapiCalendar::set_Attendees ( System::SharedPtr< MapiCalendarAttendees value)

Sets the attendees

◆ set_AuxiliaryFlags()

void Aspose::Email::Mapi::MapiCalendar::set_AuxiliaryFlags ( MapiCalendarAuxiliaryFlags  value)

Sets the auxiliary state

◆ set_BusyStatus()

void Aspose::Email::Mapi::MapiCalendar::set_BusyStatus ( MapiCalendarBusyStatus  value)

Sets the busy status

◆ set_ClientIntent()

void Aspose::Email::Mapi::MapiCalendar::set_ClientIntent ( MapiCalendarClientIntent  value)

Sets the actions the user has taken on this Meeting object.

◆ set_EndDate()

void Aspose::Email::Mapi::MapiCalendar::set_EndDate ( System::DateTime  value)

Sets the end date and time of the event. If the date is not set, default value for DateTime is returned.

◆ set_EndDateTimeZone()

void Aspose::Email::Mapi::MapiCalendar::set_EndDateTimeZone ( System::SharedPtr< MapiCalendarTimeZone value)

Sets time zone information that indicates the time zone of the EndDate property

◆ set_IsAllDay()

void Aspose::Email::Mapi::MapiCalendar::set_IsAllDay ( bool  value)

Sets a value indicating whether the event is an all-day event

◆ set_KeyWords()

void Aspose::Email::Mapi::MapiCalendar::set_KeyWords ( System::String  value)

Sets the categories of the calendar object

◆ set_Location()

void Aspose::Email::Mapi::MapiCalendar::set_Location ( System::String  value)

Sets the location of the event

◆ set_Organizer()

void Aspose::Email::Mapi::MapiCalendar::set_Organizer ( System::SharedPtr< MapiElectronicAddress value)

Sets the organizer.

◆ set_Recurrence()

void Aspose::Email::Mapi::MapiCalendar::set_Recurrence ( System::SharedPtr< MapiCalendarEventRecurrence value)

Sets the recurrence properties

◆ set_ReminderDelta()

void Aspose::Email::Mapi::MapiCalendar::set_ReminderDelta ( int32_t  value)

Sets the interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object

◆ set_ReminderFileParameter()

void Aspose::Email::Mapi::MapiCalendar::set_ReminderFileParameter ( System::String  value)

Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.

◆ set_ReminderSet()

void Aspose::Email::Mapi::MapiCalendar::set_ReminderSet ( bool  value)

Sets a value indicating whether a reminder is set on the object

◆ set_Sequence()

void Aspose::Email::Mapi::MapiCalendar::set_Sequence ( int32_t  value)

Sets the sequence number

◆ set_StartDate()

void Aspose::Email::Mapi::MapiCalendar::set_StartDate ( System::DateTime  value)

Sets the start date and time of the event. If the date is not set, default value for DateTime is returned.

◆ set_StartDateTimeZone()

void Aspose::Email::Mapi::MapiCalendar::set_StartDateTimeZone ( System::SharedPtr< MapiCalendarTimeZone value)

Sets time zone information that indicates the time zone of the StartDate property

◆ set_State()

void Aspose::Email::Mapi::MapiCalendar::set_State ( MapiCalendarState  value)

Sets the state of the calendar object

◆ set_Uid()

void Aspose::Email::Mapi::MapiCalendar::set_Uid ( System::String  value)

Gets the unique identifier

◆ ToIcalendar()

System::SharedPtr<Aspose::Email::Calendar::Model::CalendarObject> Aspose::Email::Mapi::MapiCalendar::ToIcalendar ( System::SharedPtr< MapiCalendarIcsSaveOptions saveOptions)

Converts this MapiCalendar into CalendarObject

Returns
A converted CalendarObject

Friends And Related Function Documentation

◆ Aspose::Email::Calendar::Appointment

◆ Aspose::Email::Clients::Exchange::WebService::CalendarEwsConverter

friend class Aspose::Email::Clients::Exchange::WebService::CalendarEwsConverter
friend

◆ Aspose::Email::Mapi::MapiCalendarEventRecurrence

◆ Aspose::Email::Mapi::MapiCalendarExceptionInfo

◆ Aspose::Email::Mapi::MapiCalendarRecurrencePatternFactory

◆ Aspose::Email::Mapi::MapiMessage

friend class Aspose::Email::Mapi::MapiMessage
friend

◆ Aspose::Email::Tools::CalendarConverter

friend class Aspose::Email::Tools::CalendarConverter
friend