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

service
The LocalMapService with which the ArcGISLocalDynamicMapServiceLayer will be initialized.
Initializes a new instance of the ArcGISLocalDynamicMapServiceLayer class with the specified LocalMapService

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal service As LocalMapService _
)
C# 
public ArcGISLocalDynamicMapServiceLayer( 
   LocalMapService service
)

Remarks

You should use this overloaded constructor if you have already created an instance of a LocalMapService. The LocalMapService will become the Service property of the ArcGISLocalDynamicMapServiceLayer.

Parameters

service
The LocalMapService with which the ArcGISLocalDynamicMapServiceLayer will be initialized.

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.