PocketPlanner Programmer's Guide

TaskCollection Members

Constructors Properties Methods Events

Represents a strongly-typed collection of Task objects.

The following tables list the members exposed by the TaskCollection type.

 Public Constructors

  Name Description

TaskCollection

Initializes a new instance of the TaskCollection class.

 Public Properties

  Name Description

Item

Gets a Task object from the collection given its zero-based index or identifier.

 Public Methods

  Name Description

Add

Adds the specified task to this collection.

Clear

Removes all elements from the collection.

Contains

Overloaded.  Determines whether this collection contains the specified task.

Insert

Inserts a location object into the collection at the specified index.

Remove

Removes the first occurrence of the specified Task object from this collection.

 Public Events

  Name Description

Changed

Raised when the collection has been changed.

 See Also