This document is archived and information here might be outdated.  Recommended version.


MyPlaceCollection Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Classes > M > MyPlaceCollection Class
ArcGIS Developer Help

MyPlaceCollectionClass Class

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 (esriDisplay)
IEnumPlace Provides access to members enumerate a PlaceCollection.
IPersist (esriSystem)
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.