Esri Business Analyst Server API for Silverlight 2.2 Reference
EditFeaturesTask Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Client.BAServer.Tasks.Repository Namespace : EditFeaturesTask Class

Glossary Item Box

The Edit Features task edits features in a repository feature layer.

Object Model

EditFeaturesTask ClassAbstractClient ClassITokenProvider Interface

Syntax

Remarks

The changedItem layer and feature edits from the features array should have the same type of geometry and the same spatial reference.

All attributes of feature edits contained in the features array should be present in the changedItem layer. Values for attributes of features from the edited layer which are missing in the feature edits are not changed.

The result of this task is a Boolean variable whose value is always true.

Example

The code snippet below executes an Edit Features task.
C#Copy Code
// features is a list of ESRI.ArcGIS.Client.BAServer.EditFeature items.
// changedItem is a repository layer whose features will be edited.
            
editFeaturesTask.ExecuteAsync(features, changedItem, new AsyncResponder(resultHandler, faultHandler));

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Client.BACore.Client.AbstractTask
      ESRI.ArcGIS.Client.BACore.Client.BATask<TResult,TEventArgs>
         ESRI.ArcGIS.Client.BAServer.Tasks.BAServerTask<TResult>
            ESRI.ArcGIS.Client.BAServer.Tasks.Repository.EditFeaturesTask

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 Esri, Inc. All Rights Reserved.