
Both source data layer and destination items should have the same (point or polygon) geometry type. The source layer can be a folder item, a feature record set, or an array of point records. Only attribute fields specified in the destination item are copied from source layer features. Other fields are ignored.
The result of this task is true if the features were successfully added.
C# | ![]() |
---|---|
// sourceLayer is a point or polygon layer whose features will be added. // destinationItem is a destination repository layer having the same geometry type as the source layer. addFeaturesTask.ExecuteAsync(sourceLayer, destinationItem, new AsyncResponder(resultHandler, faultHandler)); |
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.AddFeaturesTask
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