PocketPlanner Programmer's Guide

LocationCollection Members

Constructors Properties Methods Events

Represents a strongly typed collection of Location objects.

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

 Public Constructors

  Name Description

LocationCollection

Initializes a new instance of the LocationCollection class.

 Public Properties

  Name Description

Item

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

 Public Methods

  Name Description

Add

Adds the specified location to this collection.

Clear

Removes all elements from the collection.

Contains

Overloaded. Determines whether this collection contains the specified location.

Insert

Inserts the specified location object at the specified position within the collection.

Remove

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

 Public Events

  Name Description

Changed

Raised when the collection has been changed.

 See Also