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

The local service used by this layer. This can be a LocalMapService or LocalFeatureService which derives from LocalMapService.

Syntax

Visual Basic (Declaration) 
Public Property Service As LocalMapService
C# 
public LocalMapService Service {get; set;}

Remarks

To support editing the Service property must have an editable LocalFeatureService set. LocalMapServices and LocalFeatureServices also support definition queries, time definitions and selections.

Exceptions

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