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


IPlaceCollection Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPlaceCollection Interface
ArcGIS Developer Help

IPlaceCollection Interface

Provides access to members that manage a place collection. Duplicate names are not allowed.

Product Availability

Available with ArcGIS Engine.

Description

The IPlaceCollection interface manages adding and removing Place objects to the collection.

Members

Name Description
Method Add Add to place collection. If allowChangeName is true and place with the same name exists, unique name will be assigned, the place will not be added otherwise.
Method RemoveAll Remove all places.
Method RemoveByName Remove from place collection. If RemoveMatching is true, all places will be removed whose name matches the unique name generation pattern. Otherwise place is removed if the name is an exact match.

Classes that implement IPlaceCollection

Classes Description
MyPlaceCollection A singleton class that manage the collection of my places.