ESRI.ArcGIS.Mobile
Name Property
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > MapLayer Class : Name Property

Gets or sets the MapLayer name.

Syntax

Visual Basic (Declaration) 
<CompilerGeneratedAttribute()>
Public Property Name As String
C# 
[CompilerGeneratedAttribute()]
public string Name {get; set;}

Remarks

If the MapLayer comes from the underlying MobileService, the returned value refers to the layer name as defined in ArcMap document when the service is published. It doesn't reflect the actual name of the physical feature class or raster.

If the MapLayer is a customized MapLayer and you maintain your own data for drawing or querying purpose, you need to set a name for it before you can reference it through its name. Alternatively you can reference a MapLayer through its index on the MapLayers collection.

Requirements

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

See Also