Show / Hide Table of Contents

Class Field

Contains information about an attribute field in a Feature

Inheritance
System.Object
Field
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 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

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.