Visual Basic (Declaration) | |
---|---|
<CaptionAttribute("CollectFeaturesTask")> Public Class CollectFeaturesTask Inherits Task Implements IDynamicXmlSerializable, IJsonSerializer |
C# | |
---|---|
[CaptionAttribute("CollectFeaturesTask")] public class CollectFeaturesTask : Task, IDynamicXmlSerializable, IJsonSerializer |
CollectFeaturesTask is a built-in task provided by mobile application, yet it can be removed mobile project center when a mobile project is authored. The CollectFeaturesTask provides workflow for field data collection. User can choose a feature type, a geometry collection method for geometry collection, edit attributes before or after geometry collection, and perform other optional operations (such as copying attributes from previously collected feature).
Please note that this is the built-in workflow for data collection. You can customize the geometry collection methods, or attribute collection methods, or both. Take one step further, the framework also allows you to use a mixture of your own geometry/attribute collection methods with built-in geometry/attribute collection methods. You can have a data collection task that only uses your own geometry collection method with default attribute values, or you can build a task that uses built-in Gps geometry collection method with your own attribute collection method.
For more details on customizable points for CollectFeaturesTask, please refer to Extending Mobile Application By Function Area from developer help.
For CollectFeaturesTask, there is one and only one Feature associated with it, and in most cases being collected using one of the geometry collection methods. You can get the Feature through Feature property.
Please refer to CollectFeaturesExtension for code samples.
For other built-in Tasks, see ViewMapTask,
SearchFeaturesTask,
WorkListTask,
SynchronizeTask.
ESRI.ArcGIS.Mobile.Client.Extension
ESRI.ArcGIS.Mobile.Client.ProjectExtension
ESRI.ArcGIS.Mobile.Client.Task
ESRI.ArcGIS.Mobile.Client.Tasks.CollectFeatures.CollectFeaturesTask
Requirements
Namespace: ESRI.ArcGIS.Mobile.Client.Tasks.CollectFeatures
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
Assembly: ESRI.ArcGIS.Mobile.Client (in ESRI.ArcGIS.Mobile.Client.dll)