Show / Hide Table of Contents

Class Field

Contains information about an attribute field in a Feature

Inheritance
object
Field
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class Field

Constructors

Name Description
Field(FieldType, string, string?, int, Domain?, bool, bool)

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?, int)

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 string that represents this instance.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.