ArcGIS Runtime SDK for WPF - Library Reference
Path Property
See Also 
ESRI.ArcGIS.Client.Local Namespace > ArcGISLocalFeatureLayer Class : Path Property

Gets or sets the path or URL of the ArcGIS map package for ArcGISLocalFeatureLayer.

Syntax

Visual Basic (Declaration) 
Public Property Path As String
C# 
public string Path {get; set;}

Remarks

This property cannot be set once the ArcGISLocalFeatureLayer is initialized. Prior to attempting to set this property the ESRI.ArcGIS.Client.Layer.IsInitialized property should be checked. If an attempt is made to set the Path property whilst the ArcGISLocalFeatureLayer is initialized a System.InvalidOperationException will be thrown.

Property Value

A System.String representing the path or URL of an ArcGIS map package.

Exceptions

ExceptionDescription
System.InvalidOperationExceptionThe Path property cannot be set if the ArcGISLocalFeatureLayer is 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.