PocketPlanner Programmer's Guide

ResourceCollection Members

Constructors Properties Methods Events

Represents a strongly-typed collection of Resource objects.

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

 Public Constructors

  Name Description

ResourceCollection

Initializes a new instance of the ResourceCollection class.

 Public Properties

  Name Description

Item

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

 Public Methods

  Name Description

Add

Adds the specified resource to this collection.

Clear

Removes all elements from the collection.

Contains

Overloaded. Determines whether this collection contains particular resource.

Insert

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

Remove

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

 Public Events

  Name Description

Changed

Raised when the collection has been changed.

 See Also