ESRI.ArcGIS.Mobile.Client
Project Class
Members  See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client Namespace : Project Class

Represents a Project in the ArcGIS Mobile Application

Object Model













Syntax

Visual Basic (Declaration) 
<XmlRootAttribute("Project")>
Public NotInheritable Class Project 
   Implements IJsonSerializer 
C# 
[XmlRootAttribute("Project")]
public sealed class Project : IJsonSerializer  

Remarks

A project essentially defines a list of tasks and/or project extensions with associated data. The data is published on an ArcGIS Server, and consumed by a mobile project that can be authored using Mobile Project Center. The tasks and project extensions defines what you can do with the data and how. This concept is represented by the Project class in the framework.

Through Project class, you can access various projec-wide properties, such as a list of ProjectExtensions, the Map, a list of Tasks, and a few built-in tasks such as ViewMapTask and WorkListTask (if there is one).

Note that each mobile project has a page that embeds a map component for visualizing geospatial data. You can get access to this page through Map property. For performance purpose, you shouldn't create your own page that contains a map component. Instead, you should always use the shared MapPage. For more informaiton on how to make the shared MapPage work for different user scenarios, see MapPage class.

Through Project class, you can also access properties associated with data being used, including a collection of data sources through MapLayerInfos, the FullExtent of the project, and a list of feature types through FeatureTypeDictionary property.

Project provides FeaturesChanged event that will be fired when feature has been changed.

You can also get a list of feature sopurces and annotation sources by EnumerateFeatureSources, and EnumerateAnnotationSources methods, respectively.


To find a specific feature layer, use FindFeatureSource method.

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Mobile.Client.Project

Requirements

Namespace: ESRI.ArcGIS.Mobile.Client

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)

See Also