TTMSFNCCustomCloudGoogleTasks.GetTasks Method
Requests the tasks contained in the supplied task list, optionally filtering by completion, deletion and visibility, and fills the list's TTMSFNCCloudGoogleTasksTaskList.Tasks collection when the request completes.
API unit family: TMSFNCCloudGoogleTasks
Declaring type: TTMSFNCCustomCloudGoogleTasks
Overloads
Overload 1
Requests the tasks contained in the supplied task list, optionally filtering by completion, deletion and visibility, and fills the list's TTMSFNCCloudGoogleTasksTaskList.Tasks collection when the request completes.
procedure GetTasks(ATaskList: TTMSFNCCloudGoogleTasksTaskList; AMaxResults: Integer = 100; AShowCompleted: Boolean = False; AShowDeleted: Boolean = False; AShowHidden: Boolean = False); overload;
void __fastcall GetTasks(TTMSFNCCloudGoogleTasksTaskList* ATaskList, int AMaxResults = 0x64, bool AShowCompleted = false, bool AShowDeleted = false, bool AShowHidden = false)/* overload */;
Remarks
The OnGetTasks event reports the result.
Parameters
| Name | Description |
|---|---|
ATaskList |
Task list whose tasks are requested. |
AMaxResults |
Maximum number of tasks to return. Defaults to 100. |
AShowCompleted |
When True, completed tasks are included in the result. Defaults to False. |
AShowDeleted |
When True, deleted tasks are included in the result. Defaults to False. |
AShowHidden |
When True, hidden tasks are included in the result. Defaults to False. |
Overload 2
Requests the tasks contained in the supplied task list, filtered by completion, due and update date ranges.
procedure GetTasks(ATaskList: TTMSFNCCloudGoogleTasksTaskList; ACompletedMin: TDateTime; ACompletedMax: TDateTime; ADueMin: TDateTime; ADueMax: TDateTime; AUpdatedMin: TDateTime; AMaxResults: Integer = 100); overload;
void __fastcall GetTasks(TTMSFNCCloudGoogleTasksTaskList* ATaskList, System::TDateTime ACompletedMin, System::TDateTime ACompletedMax, System::TDateTime ADueMin, System::TDateTime ADueMax, System::TDateTime AUpdatedMin, int AMaxResults = 0x64)/* overload */;
Remarks
The OnGetTasks event reports the result.
Parameters
| Name | Description |
|---|---|
ATaskList |
Task list whose tasks are requested. |
ACompletedMin |
Lower bound, inclusive, of the completion date filter. |
ACompletedMax |
Upper bound, inclusive, of the completion date filter. |
ADueMin |
Lower bound, inclusive, of the due date filter. |
ADueMax |
Upper bound, inclusive, of the due date filter. |
AUpdatedMin |
Lower bound, inclusive, of the last-modified date filter. |
AMaxResults |
Maximum number of tasks to return. Defaults to 100. |