Class: Field

Description

Class added v2.0.

Information about each field in a layer.

Samples

Search for samples that use this class.  

Class hierarchy

esri.layers.Field

Properties

Property Type Description
alias String The alias name for the field.
domain Domain Domain associated with the field.
editable Boolean Indicates whether the field is editable.
length Number The field length
name String The name of the field.
type String The data type of the field.
Properties Detail

<String> alias

The alias name for the field.

<Domain> domain

Domain associated with the field.

<Boolean> editable

Indicates whether the field is editable.

<Number> length

The field length

<String> name

The name of the field.

<String> type

The data type of the field.

Can be one of the following: "esriFieldTypeSmallInteger", "esriFieldTypeInteger", "esriFieldTypeSingle", "esriFieldTypeDouble", "esriFieldTypeString", "esriFieldTypeDate", "esriFieldTypeOID", "esriFieldTypeGeometry", "esriFieldTypeBlob", "esriFieldTypeRaster", "esriFieldTypeGUID", "esriFieldTypeGlobalID", "esriFieldTypeXML"