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

path
A System.String representing the path or URL of an ArcGIS map package.
layerId
A System.Int32 representing the zero-based index position of a layer within the map.
Initializes a new instance of the ArcGISLocalFeatureLayer class using the provided path to an ArcGIS map package and the numeric index of a layer within the map.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal path As String, _
   ByVal layerId As Integer _
)
C# 
public ArcGISLocalFeatureLayer( 
   string path,
   int layerId
)

Parameters

path
A System.String representing the path or URL of an ArcGIS map package.
layerId
A System.Int32 representing the zero-based index position of a 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.