Share via


Obsolete functions

The following functions available for use in previous versions of MapPoint were obsolete as of MapPoint 2002. These methods and properties are supported only for backward compatibility; it is highly recommended that you use the replacement functionality for new code. No functions were made obsolete for MapPoint 2006.

Function On object Use this instead
DataField property DataMap Use the DataFields property on the DataMap object to return an array of Field objects representing the fields the user wants to data map.
Find method Map Use the FindResults method on the Map object to return a collection of Location and Pushpin objects (a FindResults collection) that are possible place and address find matches.

Use the FindPlaceResults method on the Map object to return a FindResults collection of possible place find matches.

FindAddress method Map Use the FindAddressResults method on the Map object to return a collection of Location objects (a FindResults collection) that are possible address find matches.
FullName property Application The FullName property is now valid only for Map objects.

Use the Path property on the Application object to return the path, excluding the final separator and name of the object.

Use the Name property on the Application object to return the name.

GoTo method Pushpin The GoTo method is now valid only for Location objects.

To go to a Pushpin, first obtain a Location object by using the Location property on the Pushpin object. Then use the GoTo method on that Location object.

GoToLatLong method Map The GoToLatLong method is no longer available.

Use the GetLocation method on the Map object.

RecordCount property DataRange The RecordCount property is now valid only for DataMap and DataSet objects.

To return the number of values in a data range that were mapped, use the ValueCount property on the DataRange object.