TaskCollection

TaskCollection class

Represents a collection of Task objects.

Methods

NameDescription
Add (5 overloads)Adds new task to project tasks collection on the same outline level of the last task.
begin (2 overloads)Gets iterator pointing to the first element (if any) of the const-qualified instance of the collection.
cbeginGets iterator pointing to the first const-qualified element (if any) of the collection.
cendGets iterator pointing right after the last const-qualified element (if any) of the collection.
ContainsChecks if collection contains specified item.
end (2 overloads)Gets iterator pointing right after the last element (if any) of the const-qualified instance of the collection.
get_CountGets the number of objects contained in the TaskCollection .
get_IsReadOnlyGets a value indicating whether this collection is read only.
get_ParentProjectGets the parent project of the TaskCollection object.
GetByIdReturns a task with the specified Id whose ancestor is parent task of this collection .
GetByUidReturns a task with the specified Uid whose ancestor is parent task of this collection .
GetEnumeratorReturns an enumerator for this collection.
idx_getReturns the element at the specified index.
idx_setReturns the element at the specified index.
InsertThis is the stub implementation of IList’s Insert method, that only throws NotSupportedException
RemoveThis is the stub implementation of ICollection’s Remove method, that only throws NotSupportedException
ToListConverts the TaskCollection object to a list of Task objects.
virtualizeBeginConstIteratorGets iterator pointing to the first element (if any)of the const-qualified instance of the collection.
virtualizeBeginIteratorGets iterator pointing to the first element (if any) of the collection.
virtualizeEndConstIteratorGets iterator pointing right after the last element (if any)of the const-qualified instance of the collection.
virtualizeEndIteratorGets iterator pointing right after the last element (if any) of the collection.