ArcObjects Library Reference (Controls)  

MyPlaceCollection CoClass

A singleton class that manage the collection of my places.

Product Availability

Available with ArcGIS Engine.

Description

The MyPlaceCollection object is a singleton object (only one instance of the MyPlaceCollection object is supported per thread) that manages "My Places". For example, it can be used to manage 'Places 'used by ArcWeb Services or your own custom functions. For example, you could select a feature or select a graphic element and add them to the collection. Once each Place is added to the collection it is independant from the original map, so even if the map changes you can still zoom to, center at, or flash that Place.

Interfaces

Interfaces Description
IConnectionPointContainer Supports connection points for connectable objects.
IEnumPlace Provides access to members enumerate a PlaceCollection.
IPersist Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
IPersistStream (esriSystem)
IPlaceCollection Provides access to members that manage a place collection. Duplicate names are not allowed.
MyPlaceCollection is the one and only instance of its class.