Class changes from 9.3 to 10.0
While there are too many changes to list from 9.3 to 10, the table below provides a quick reference guide to the class level changes that you are most likely to encounter. Please refer to What changed from 9.3 to 10.0 document for more details.
Namespace changes
NameSpace | Change | Notes |
---|---|---|
DataProducts.RasterData | New namespace | Classes for data in raster format |
DataProducts.StreetMapData | New namespace to replace SDCData | Classes for the working with StreetMap data |
Exceptions | New namespace | Classes for exceptions raised by the Mobile SDK |
SdcData | Namespace marked obsolete. | Use DataProducts.StreetMapData instead |
WebServices.ArcGISServices.MapServices | New namespace | Classes for working with a tiled Cache service. |
WPF | New namespace | Classes for Windows Presentation Framework (WPF) development |
Some of the more critical class changes
Class | Change | Notes |
---|---|---|
Display | Map property marked obsolete, replaced with OwnerMap and type changed to IMap. | MapLayer is now useable for WPF and Win32 development |
Envelope | Minx, MaxX, MinY, and MaxY have been marked obsolete. | Use new XMin, XMax, YMin, and YMax properties. |
Layer | Renderers property made obsolete LabelClasses property has been removed MakeMapLayer() method has been moved to MobileServiceLayer | Use new singular Renderer property
|
MapLayer | Map property marked obsolete, replaced with OwnerMap and type changed to IMap. | Maplayer is now useable for WPF and Win32 development |
MapImage | Added Rotate() method to create a rotated image of the map |
|
MobileService.Mobile | Added IsEmpty property | Use to verify if a MobileService is empty |
SpatialReferences.Unit | Added unit properties as singular nouns, for example "Meter". | Plural properties have been marked obsolete |
WGS84GeoTransformation | Replaced with GeoTransformation class. | Supports various types of transformations including WGS84. |
SpatialReferenceConverter | Convert coordinates from one spatial reference to another spatial reference. |
|
MobileService | Obsolete | Replaced with MobileCache |
MobileCache | CacheStoragePath removed RasterQuality property made obsolete | Replaced with StoragePath
|
MobileServiceLayer | Renderers property made obsolete
Added MobileCache property Added RemoveData() method | Use new singular Renderer property Used to get the MobileCache the layer belongs to Removes non-edited data from the local cache layer |
FeatureLayer | Added DefaultSubTypeValue property Added Namespace property Added RemoveFeatures() method | Used when creating a DataRow or DataRecord Gets namespace for XML representation of the data Removes non-edited data from the local cache layer |
FeatureDataReader | Removed GetBytes(), GetByte() and SetByte() methods Removed GetDecimal(), SetDecimal(), GetInt64(), and SetInt64() methods Removed GetBoolen(), SetBoolean(), GetData()and GetChars() methods Removed GetChar(), SetChar(), GetData()and GetChars() methods | These methods were no longer being used. |
FeatureDataRow | Added GetColumnErrorCode() method | Provides error code enum for common column errors |
ColumnErrorCode | New enum for GetColumnErrorCode() method | Provides common error code enums |
GPSDisplay | Added PropertyChanged event() | Allows developers to catch individual property changes. |
GPSConnection | Added PropertyChanged event() | Implemented for all GPSConnection types. |
SnappingEngine | New class added as a base for the SnappingEnvironment. | Allows developers to create their own Snapping Environment. |
FeatureSnappingResult | New class added to represent an snapping result for a feature. | Allows developers to access feature returned by snapping environment. |