ESRI.ArcGIS.Mobile.Client
Feature Class Members
See Also  Properties  Methods  Events Send Feedback
ESRI.ArcGIS.Mobile.Client Namespace : Feature Class


The following tables list the members exposed by Feature.

Public Constructors

 NameDescription
Public ConstructorFeature ConstructorOverloaded.  Instantiates a Feature.  
Top

Public Properties

 NameDescription
Public PropertyCanEdit Indicates whether or not the feature can be modified or deleted in the application user-interface.  
Public PropertyDisplayEditState Same as EditState except with Resources.Status + ": " in front of it.  
Public PropertyDisplayName Same as Name, except if Name is null, empty or whitespace we return Resources.Nothing.  
Public PropertyDistanceFromGps Calculates the distance of the feature to the current GPS location. If a GPS Connection isn't open, it calculates the distance to the center of the map.  
Public PropertyDistanceFromMapCenter Calculates the distance from the center of the map.  
Public PropertyEditState Gets the EditState of this Feature.  
Public PropertyFeatureDataRow Gets the corresponding FeatureDataRow when the Feature is in an edit state.  
Public PropertyFeatureSource Gets the FeatureSource this Feature is from.  
Public PropertyFeatureSourceInfo Gets the FeatureSourceInfo this Feature is from.  
Public PropertyFeatureType Gets the FeatureType of this Feature.  
Public PropertyGeometry Gets the Geometry of this Feature.  
Public PropertyHasErrors Indicates whether any modifications made to the feature contain any errors.  
Public PropertyHasValidAttributes Indicates whether any modifications made to any attributes/columns other than the geometry column contain any errors.  
Public PropertyHasValidGeometry Indicates whether the Geometry in the row is not null and is valid.  
Public PropertyHelpStrings Gets the HelpStrings associated with this Feature.  
Public PropertyIsEditing Indicates whether or not we are currently modifying the attribute values of the feature.  
Public PropertyIsNew Indicates whether or not the feature is a new feature  
Public PropertyObjectId Gets the ObjectId associated with this Feature.  
Public PropertySwatch Gets the swatch of the FeatureType.  
Top

Public Methods

 NameDescription
Public MethodAddAttachmentItem Add an attachment item  
Public MethodBeginEdit Begins an individual editing operation. After desired changes have been made, call EndEdit() to save the changes or CancelEdit() to rollback any edits since BeginEdit() was called.  
Public MethodCancelEdit Restores the associated feature data row to its state prior to the call to BeginEdit(). You still must call StopEditing() when done editing the feature in order to detach from the feature data row.  
Public MethodDeleteAttachmentItem Delete an attachment item  
Public MethodEndEdit Commits any edits made since the previous call to BeginEdit(). You still must call StopEditing() when done editing the feature in order to detach from the feature data row.  
Public MethodGetAttachmentItems List of Attachment Items  
Public MethodGetDeletedAttachments List of Deleted Attachment Items  
Public MethodGetEditableDataReader Returns a FeatureDataReader that represents this Feature.  
Public MethodGetReadOnlyDataReader Returns a FeatureDataReader that represents this Feature.  
Public Methodstatic (Shared in Visual Basic)GetValueConsiderDomainOverloaded.  Gets a string value for a particular attribute of a feature, taking into account the domain and whether or not the field is a subtype field.  
Public MethodRefresh Updates the properties of the Feature based upon the current state of the data source (i.e., the feature layer).  
Public MethodSaveEdits Saves all changes to the feature to the feature data table.  
Public MethodStartEditing Begins editing a feature by attaching to the feature data row. This must be called before BeginEdit() can be called. When editing is finished, call SaveEdits() (optional) to save the edits to the table and finally call StopEditing() to release the reference to the feature data row.  
Public MethodStopEditing Ends the overall editing of the feature.  
Public MethodValidate Determines whether a value in the row for a specified column is valid.  
Top

Protected Methods

 NameDescription
Protected MethodGetRequiredColumnNames Returns the required columns that a Feature requires in a FeatureDataRow. I.e., the fields required to determine the ObjectId, FeatureType, and DisplayName.  
Protected MethodOnPropertyChanged Call this from derived classes when a property is changed to fire the PropertyChanged event.  
Protected MethodSetPropertiesOverloaded.  Sets the properties on the feature.  
Top

Public Events

 NameDescription
Public EventPropertyChanged Occurs when a property value changes.  
Top

See Also