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

Gets or sets the ID of the layer within the map which the ArcGISLocalFeatureLayer is connected to.

Syntax

Visual Basic (Declaration) 
Public Property LayerId As Nullable(Of Integer)
C# 
public Nullable<int> LayerId {get; set;}

Property Value

A System.Int32 representing the zero-based index position of a layer within the [MAP].

Exceptions

ExceptionDescription
System.InvalidOperationExceptionThe LayerId 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.