Click or drag to resize
ArcGISFeatureTable Class
Represents an ArcGIS Geodatabase table
Inheritance Hierarchy

Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 10.2.7.0 (10.2.7.1234)
Syntax
public abstract class ArcGISFeatureTable : FeatureTable

The ArcGISFeatureTable type exposes the following members.

Methods
  NameDescription
Public methodAddAsync(Feature)
Adds the specified feature to the table.
(Inherited from FeatureTable.)
Public methodAddAsync(IEnumerableFeature)
Adds the specified features to the table in a single transaction. The transactional edit is only applied if adding all features succeed. Otherwise, the transactional edit will rollback.
(Inherited from FeatureTable.)
Public methodAddAsync(IEnumerableKeyValuePairString, Object, Geometry)
Adds a new row to the table.
(Overrides FeatureTableAddAsync(IEnumerableKeyValuePairString, Object, Geometry).)
Public methodAddAttachmentAsync
Adds an attachment to a feature.
Public methodCanAddAttachment
Determines whether an attachment can be added to the specified feature. This method checks for any server restriction as imposed by its properties, capabilities and/or ownership-based access.
Public methodCanAddFeature
Determines whether the specified feature can be added to the table. This method checks for any server restriction as imposed by its properties, capabilities and/or ownership-based access.
Public methodCanDeleteAttachment
Determines whether an attachment of the specified feature can be deleted. This method checks for any server restriction as imposed by its properties, capabilities and/or ownership-based access.
Public methodCanDeleteFeature
Determines whether the specified feature can be deleted from the table. This method checks for any server restriction as imposed by its properties, capabilities and/or ownership-based access.
Public methodCanUpdateAttachment
Determines whether an attachment of the specified feature can be updated. This method checks for any server restriction as imposed by its properties, capabilities and/or ownership-based access.
Public methodCanUpdateFeature
Determines whether the specified feature can be updated on the table. This method checks for any server restriction as imposed by its properties, capabilities and/or ownership-based access.
Public methodCanUpdateGeometry
Determines whether geometry of the specified feature can be updated. This method checks for any server restriction as imposed by its properties, capabilities and/or ownership-based access.
Public methodClearEdits
Reverts any changes (add/update/delete operations) made since the last sync.
Public methodCreateNew
Creates a new row for the table
Public methodDeleteAsync(IEnumerableInt64)
Deletes a rows from the table with the specified feature ids.
(Overrides FeatureTableDeleteAsync(IEnumerableInt64).)
Public methodDeleteAsync(Int64)
Deletes a row from the table with the specified feature id.
(Inherited from FeatureTable.)
Public methodDeleteAsync(Feature)
Deletes a feature from the table.
(Inherited from FeatureTable.)
Public methodDeleteAttachmentsAsync
Deletes one or more attachments on a feature.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAddedFeatureIDs
Retrieves the IDs of new features that were added locally but have not been submitted to server.
Public methodGetDeletedFeatureIDs
Retrieves the IDs of existing features that were deleted locally but have not been submitted to server.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUpdatedFeatureIDs
Retrieves the IDs of existing features that were updated locally but have not been submitted to server.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQueryAsync(IEnumerableInt64)
Gets features from the table based on their row ids.
(Overrides FeatureTableQueryAsync(IEnumerableInt64).)
Public methodQueryAsync(Int64)
Get a features from the table based on its row id.
(Inherited from FeatureTable.)
Public methodQueryAsync(QueryFilter)
Queries the specified query filter.
(Overrides FeatureTableQueryAsync(QueryFilter).)
Public methodQueryAttachmentsAsync
Queries for a list of attachments for a feature.
Public methodQueryRelatedAsync(Boolean, Int64)
Public methodQueryRelatedAsync(Void, GeodatabaseFeature)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateAsync(Feature)
Updates the specified feature in the table.
(Overrides FeatureTableUpdateAsync(Feature).)
Public methodUpdateAsync(IEnumerableFeature)
Updates the specified features of the table in a single transaction. The transactional edit is only applied if update to all features succeed. Otherwise, the transactional edit will rollback.
(Overrides FeatureTableUpdateAsync(IEnumerableFeature).)
Public methodUpdateAttachmentAsync
Updates the specified attachment of a feature.
Top
Properties
  NameDescription
Public propertyAddedFeaturesCount
Gets the number of unsynced features added.
Public propertyDeletedFeaturesCount
Gets the number of unsynced features deleted.
Public propertyExtent
Gets the spatial extent of the feature table.
(Inherited from FeatureTable.)
Public propertyGeometryType
Gets the geometry type of the geometry (if any) in this table
(Inherited from FeatureTable.)
Public propertyGlobalIDField
Gets the global ID field.
Public propertyHasAttachments
Gets a value indicating whether this instance has attachments.
Public propertyHasEdits
Gets a value indication whether the layer has unsynced edits.
Public propertyIsReadOnly
Gets a value indicating whether the table supports editing.
(Inherited from FeatureTable.)
Public propertyName
Gets the name of the table.
(Inherited from FeatureTable.)
Public propertyObjectIDField
Gets the object ID field.
(Inherited from FeatureTable.)
Public propertyRowCount
Gets the number of rows in the table
(Inherited from FeatureTable.)
Public propertySchema
Gets the schema for the table if any.
(Inherited from FeatureTable.)
Public propertyServiceInfo
Gets the service info of the service where this table originated from
Public propertySpatialReference
Gets the spatial reference of the feature table.
(Inherited from FeatureTable.)
Public propertySupportsQuery
Gets a value indicating whether the table supports querying.
(Inherited from FeatureTable.)
Public propertyUpdatedFeaturesCount
Gets the number of unsynced features updated.
Top
Remarks

It is possible to create a FeatureLayer from a ArcGISFeatureTable via ArcGIS Runtime provisioned .geodatabase file. There are a couple of options to obtain this provisioned .geodatabase file: (1) Services Pattern - generate the .geodatabase file on ArcGIS Server and then download it to your local device (see the code example FeatureLayerViaGeodatabaseWebDownload) and (2) Desktop Pattern - create a .geodatabase in ArcMap and copy it to your local device (see the code example FeatureLayerViaGeodatabase).

Additional documentation you may find useful regarding provisioning an ArcGIS Runtime .geodatabase include:

Attachments are files (text - .txt, spreadsheet - .xls, images - .png, documents - .doc, PDF - .pdf, etc.) that can be associated with a feature in a FeatureLayer. The Has Attachments option must be true in ArcGIS Server in order to query, add, update, delete, or get an attachment in the FeatureLayer's ArcGISFeatureTable. Developers who do not have direct access to the management of an ArcGIS Server but need to know if an ArcGIS Server FeatureLayer has attachments enabled can specify the URL of the FeatureLayer in an web browser and look for the Has Attachments section to see if the value is true, see the following screen shot:

Determinining if a FeatureLayer support having attachments in the ArcGIS Server.

IMPORTANT: It should be noted the URL of the FeatureLayer in an ArcGIS Server MapServer service looks very similar to FeatureServer and might even display a Has Attributes value equal true when viewed in a web browser but this should not be used for accessing/modifying attachments. A valid FeatureServer will have the words "FeatureServer" in the URL, not "MapServer" which will cause errors.

Additionally, developers can programmatically discover if a FeatureLayer Has Attachments by using the HasAttachments Property to obtain a Boolean value if attachments are enabled for the ArcGISFeatureTable.

When querying for attachments in the ArcGISFeatureTable, an AttachmentInfos object is returned. Use the AttachmentInfos.Infos Property to access the collection of AttachmentInfoItem objects. The AttachmentInfoItem contains all of the important information about the attachment such as: how big it is in bytes, it's name, it's internal record ID, and the actual attachment itself.

See Also
Supported Platforms
This type is supported on the following ArcGIS Runtime .NET SDK platforms:
Windows Desktop
Windows Phone
Windows Store