ArcGIS Runtime SDK for WPF - Library Reference
ArcGISLocalFeatureLayer Constructor(LocalMapService,String)
See Also 
ESRI.ArcGIS.Client.Local Namespace > ArcGISLocalFeatureLayer Class > ArcGISLocalFeatureLayer Constructor : ArcGISLocalFeatureLayer Constructor(LocalMapService,String)

service
The LocalMapService on which to base the ArcGISLocalFeatureLayer.
layerName
A System.String representing the name of the layer within the map.
Initializes a new instance of the ArcGISLocalFeatureLayer class using the provided LocalMapService and the name of a layer within the map.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal service As LocalMapService, _
   ByVal layerName As String _
)
C# 
public ArcGISLocalFeatureLayer( 
   LocalMapService service,
   string layerName
)

Parameters

service
The LocalMapService on which to base the ArcGISLocalFeatureLayer.
layerName
A System.String representing the name of the layer within the map.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.