Class Field
Contains information about an attribute field in a Feature
Inheritance
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class Field
Constructors
| Name | Description |
|---|---|
| Field(FieldType, String, String, Int32, Domain, Boolean, Boolean) | Initializes a new instance of the Field class. |
Properties
| Name | Description |
|---|---|
| Alias | Gets the alias of field. |
| Domain | Gets the domain of field. |
| FieldType | Gets the data type of field. |
| IsEditable | Gets a value indicating whether field is editable. |
| IsNullable | Gets a value indicating whether field is nullable. |
| Length | Gets the length of the field. |
| Name | Gets the name of the field. |
Methods
| Name | Description |
|---|---|
| CreateBigInt(String, String) | Creates a new Int64 field. |
| CreateDate(String, String) | Creates a new Date field. |
| CreateDateOnly(String, String) | Creates a new DateOnly field. |
| CreateDouble(String, String) | Creates a new double-precision floating point field. |
| CreateFloat(String, String) | Creates a new single-precision floating point field. |
| CreateInt(String, String) | Creates a new 32-bit integer field. |
| CreateShort(String, String) | Creates a new 16-bit integer field. |
| CreateString(String, String, Int32) | Creates a new Text field. |
| CreateTimeOnly(String, String) | Creates a new TimeOnly field. |
| CreateTimestampOffset(String, String) | Creates a new TimestampOffset field. |
| FromJson(String) | Creates a Field from the JSON string. |
| ToJson() | Serializes the Field to JSON string. |
| ToString() | Returns a System.String that represents this instance. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |