SetAbsolutEndDate
This function sets the Absolute End Date of the Alarm Object. This function has two ways to be used:
Function Definition:
void SetAbsolutEndDate(DateTime date);
. DateTime date: A DateTime parameter that Represents the date that will be the end date.
void SetAbsolutEndDate(string date);
. String date: A string parameter that Represents the date that will be the end date.
To configure this property, follow the steps below:
1. In an object event, configure the SetAbsolutEndDate function: AlarmObjectName.SetAbsolutEndDate(date);
2. During the execution of RunTime, run the configured event.
Example with SetAbsolutEndDate(DateTime date):
In the graphic document, the user has one Alarm object (named as Alarm1). In a Button object (named as Button1) the user configures the MouseUp event with the following event:
Alarm1.SetAbsolutEndDate(@dateTag);
In this event, the Absolute End Date will be set.
|
Note: This property exists only to the following objects: . Alarm |