How would I set the ShowCompleted flag in google tasks for DotNet? I've searched the samples with no luck.
Task task = service.Tasks.Get("@default", "taskID").Fetch();
Console.WriteLine(task.Title);
Thanks.
How would I set the ShowCompleted flag in google tasks for DotNet? I've searched the samples with no luck.
Task task = service.Tasks.Get("@default", "taskID").Fetch();
Console.WriteLine(task.Title);
Thanks.
Assuming you are using tasks.get you can just check task.Completed
var task = service.Tasks.Get("@default", "taskID").Fetch();
Console.WriteLine(task.Completed);