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


IPlaceCollection Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPlaceCollection Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

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.

CoClasses that implement IPlaceCollection

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