PocketPlanner Programmer's Guide

ContactCollection Members

Constructors Properties Methods Events

Represents a strongly-typed collection of Contact objects.

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

 Public Constructors

  Name Description

ContactCollection

Initializes a new instance of the ContactCollection class.

 Public Properties

  Name Description

Item

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

 Public Methods

  Name Description

Add

Adds the specified contact to this collection.

Clear

Removes all elements from the collection.

Contains

Overloaded. Determines whether this collection contains the specified contact.

Insert

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

Remove

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

 Public Events

  Name Description

Changed

Raised when the collection has been changed.

 See Also