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

service
The LocalMapService on which to base the ArcGISLocalFeatureLayer.
layerId
A System.Int32 representing the index position of the layer within the LocalMapService.
Initializes a new instance of the ArcGISLocalFeatureLayerclass using the provided LocalMapService and the numeric index of a layer within the map.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal service As LocalMapService, _
   ByVal layerId As Integer _
)
C# 
public ArcGISLocalFeatureLayer( 
   LocalMapService service,
   int layerId
)

Remarks

If the LocalMapService is not started prior to the initialization phase of the ArcGISLocalFeatureLayer the service will be automatically started.

Parameters

service
The LocalMapService on which to base the ArcGISLocalFeatureLayer.
layerId
A System.Int32 representing the index position of the layer within the LocalMapService.

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.