AlarmMessage Property
This property contains a message used to alert the user when this alarm is triggered.
Syntax
ANSI (Cross Platform) char* GetAlarmMessage(int iAlarmIndex);
int SetAlarmMessage(int iAlarmIndex, const char* lpszAlarmMessage); Unicode (Windows) LPWSTR GetAlarmMessage(INT iAlarmIndex);
INT SetAlarmMessage(INT iAlarmIndex, LPCWSTR lpszAlarmMessage);
- (NSString*)alarmMessage:(int)alarmIndex; - (void)setAlarmMessage:(int)alarmIndex:(NSString*)newAlarmMessage;
#define PID_CALDAV_ALARMMESSAGE 6 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_CalDAV_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_CalDAV_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_CalDAV_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
This property contains a message used to alert the user when this alarm is triggered.
If the AlarmAction is set to aDisplay, this property must contain the message that is to be displayed to the user. If AlarmAction is set to aEmail this property will contain the message body of the email that is sent to the AlarmRecipient.
For instance:
CalDAV.Alarm.Action = aEmail;
CalDAV.Alarm.Recipient =
"mailto:john_doe@example.com"
;
CalDAV.Alarm.Message =
"A draft agenda needs to be sent out to the attendees to the weekly managers meeting (MGR-LIST)."
;
CalDAV.Alarm.Subject =
"REMINDER: Send agenda for weekly staff meeting."
;
CalDAV.Alarm.Action = aDisplay;
CalDAV.Alarm.Message =
"REMINDER: Send agenda for weekly staff meeting."
;
The AlarmIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AlarmCount property.
This property is not available at design time.
Data Type
String