This document is archived and information here might be outdated.  Recommended version.


IFieldEdit Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFieldEdit Interface
ArcGIS Developer Help

IFieldEdit Interface

Provides access to members that edit the field properties. Note: the IFieldEdit interface has been superseded by IFieldEdit2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The IFieldEdit interface is used when creating new fields. You should not use it to modify fields, for that purpose use IClassSchemaEdit. In general, when modifying fields, the restrictions that apply in ArcCatalog also apply in ArcObjects; for example, you cannot change the name or type of a field.

Members

Name Description
Write-only property AliasName The alias name of the field.
Read-only property AliasName The alias name of the field.
Method CheckValue Indicates if the value is valid given the field definition.
Write-only property DefaultValue The default value of the field.
Read-only property DefaultValue The default value of the field.
Write-only property Domain The default domain of the field.
Read-only property Domain The default domain of the field.
Write-only property DomainFixed Indicates if the field's domain cannot be modified.
Read-only property DomainFixed Indicates if the field's domain is fixed.
Write-only property Editable Indicates if the field can be edited. This should always be set to true.
Read-only property Editable Indicates if the field is editable.
Read-only property GeometryDef The geometry definition for the field if IsGeometry is TRUE.
Write-only property GeometryDef The geometry definition if IsGeometry is TRUE.
Read-only property IsNullable Indicates if the field can contain null values.
Write-only property IsNullable Indicates if field values can be null.
Write-only property Length The maximum length, in bytes, for field values.
Read-only property Length The maximum length, in bytes, for values described by the field.
Write-only property Name The name of the field.
Read-only property Name The name of the field.
Write-only property Precision The precision for field values.
Read-only property Precision The precision for field values.
Write-only property Required Indicates if the field is required.
Read-only property Required Indicates if the field is required.
Write-only property Scale The scale for field values.
Read-only property Scale The scale for field values.
Read-only property Type The type of the field.
Write-only property Type The type for the field.
Read-only property VarType The VARTYPE of the field (e.g. VT_I4).

Inherited Interfaces

Interfaces Description
IField Provides access to members that return information about the field.

Classes that implement IFieldEdit

Classes Description
Field Esri Field object.
[C#]

When using C# (and other .NET languages) you must append an "_2" to the property you want to set on this interface. For example fieldEdit.Name_2 = "NewFieldName".

[Visual Basic .NET]

When using VB.NET (and other .NET languages) you must append an "_2" to the property you want to set on this interface. For example fieldEdit.Name_2 = "NewFieldName".

.NET Samples

Create a custom raster type Create a custom raster type from the ground up for DMCII data Calculate area geoprocessing function tool Geoprocessing field mapping Timestamper class extension