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.MemberwiseClone()
Object.ReferenceEquals(Object, 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
CreateDate(String, String)

Creates a new Date 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.

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.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0
In This Article
Back to top Copyright © 2022 Esri.