Class Feature
Represents a real-world object on a map.
Implements
System.ComponentModel.INotifyPropertyChanged
  
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
  Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class Feature : GeoElement, INotifyPropertyChangedRemarks
A feature is persisted in a FeatureTable in a data store (such as a database or service) or in a map. Features in the same data store or feature layer have a common attribute schema.
Properties
| Name | Description | 
|---|---|
| FeatureTable | Gets the FeatureTable that this feature belongs to | 
| Geometry | Gets or sets the Geometry of the feature. | 
Methods
| Name | Description | 
|---|---|
| GetAttributeValue(Field) | Looks up attribute by Field and returns its current value. | 
| GetAttributeValue(String) | Looks up attribute by name and returns its current value. | 
| Refresh() | Resets the attributes and geometry to the values in the data source. | 
| SetAttributeValue(Field, Object) | Looks up attribute by Field and updates attribute to the specified value. | 
| SetAttributeValue(String, Object) | Looks up attribute by name and updates attribute to the specified value. | 
| Name | Description | 
|---|---|
| INotifyPropertyChanged.PropertyChanged | Occurs when a property value changes. | 
Applies to
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 | 
| .NET 6.0 | 100.13 - 100.15 | 
| .NET 6.0 Windows | 100.13 - 100.15 | 
| .NET Framework | 100.0 - 100.15 | 
| .NET 5 | 100.10 - 100.12 | 
| .NET Core 3.1 | 100.7 - 100.12 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 100.15 | 
Relevant samples
Add features: Add features to a feature layer.