Visual Basic (Declaration) | |
---|---|
Public MustInherit Class Layer Implements ILayer |
C# | |
---|---|
public abstract class Layer : ILayer |
Assuming you have a MobileService called mobileService1, the following code example shows how to use mapLayer data to find position for raster layers in mapLayer collection.
C# | Copy Code |
---|---|
// Generic List holding indexes of raster layers in the map |
The following example shows how to check the layer type in the MobileServiceLayerCollection.
C# | Copy Code |
---|---|
string info = ""; |
As Layer is an abstract class for many other classes such as MobileServiceLayer, MobileCacheLayer, FeatureLayer, and so on. it provides basic properties/methods/events that are accessible from other classes. For more information, see MobileServiceLayer and MapLayer.
ESRI.ArcGIS.Mobile.Layer
ESRI.ArcGIS.Mobile.MobileServices.MobileCacheLayer
Requirements
Namespace: ESRI.ArcGIS.Mobile
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
Assembly: ESRI.ArcGIS.Mobile (in ESRI.ArcGIS.Mobile.dll)