IFieldEdit Interface

Provides access to members that edit the field properties.

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 RasterDef The raster column definition.
Read-only property RasterDef The raster column definition.
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).

IFieldEdit.AliasName Property

The alias name of the field.

Public WriteOnly Property AliasName_2
public void AliasName_2 {set;}

Remarks

This is only supported on fields from object classes and feature classes that are registered with a personal, File or ArcSDE geodatabase.

This is not supported for shapefiles, coverages, or other data sources.

You can register a table within the geodatabase to become an object class by right-clicking on the table in ArcCatalog and clicking on "Register with Geodatabase".

IFieldEdit.AliasName Property

The alias name of the field.

Public WriteOnly Property AliasName_2
public void AliasName_2 {set;}

Remarks

This is only supported on fields from object classes and feature classes that are registered with a personal, File or ArcSDE geodatabase.

This is not supported for shapefiles, coverages, or other data sources.

You can register a table within the geodatabase to become an object class by right-clicking on the table in ArcCatalog and clicking on "Register with Geodatabase".

IFieldEdit.DefaultValue Property

The default value of the field.

Public WriteOnly Property DefaultValue_2
public void DefaultValue_2 {set;}

IFieldEdit.DefaultValue Property

The default value of the field.

Public WriteOnly Property DefaultValue_2
public void DefaultValue_2 {set;}

IFieldEdit.Domain Property

The default domain of the field.

Public WriteOnly Property Domain_2
public void Domain_2 {set;}

IFieldEdit.Domain Property

The default domain of the field.

Public WriteOnly Property Domain_2
public void Domain_2 {set;}

IFieldEdit.DomainFixed Property

Indicates if the field's domain cannot be modified.

Public WriteOnly Property DomainFixed_2
public void DomainFixed_2 {set;}

IFieldEdit.DomainFixed Property

Indicates if the field's domain cannot be modified.

Public WriteOnly Property DomainFixed_2
public void DomainFixed_2 {set;}

IFieldEdit.Editable Property

Indicates if the field can be edited. This should always be set to true.

Public WriteOnly Property Editable_2
public void Editable_2 {set;}

IFieldEdit.Editable Property

Indicates if the field can be edited. This should always be set to true.

Public WriteOnly Property Editable_2
public void Editable_2 {set;}

IFieldEdit.GeometryDef Property

The geometry definition if IsGeometry is TRUE.

Public WriteOnly Property GeometryDef_2
public void GeometryDef_2 {set;}

IFieldEdit.GeometryDef Property

The geometry definition if IsGeometry is TRUE.

Public WriteOnly Property GeometryDef_2
public void GeometryDef_2 {set;}

IFieldEdit.IsNullable Property

Indicates if field values can be null.

Public WriteOnly Property IsNullable_2
public void IsNullable_2 {set;}

IFieldEdit.IsNullable Property

Indicates if field values can be null.

Public WriteOnly Property IsNullable_2
public void IsNullable_2 {set;}

IFieldEdit.Length Property

The maximum length, in bytes, for field values.

Public WriteOnly Property Length_2
public void Length_2 {set;}

Remarks

The length property of a field has meaning only for esriFieldTypeString fields. The length property for all other field types is not important and will be ignored if specified.

IFieldEdit.Length Property

The maximum length, in bytes, for field values.

Public WriteOnly Property Length_2
public void Length_2 {set;}

Remarks

The length property of a field has meaning only for esriFieldTypeString fields. The length property for all other field types is not important and will be ignored if specified.

IFieldEdit.Name Property

The name of the field.

Public WriteOnly Property Name_2
public void Name_2 {set;}

IFieldEdit.Name Property

The name of the field.

Public WriteOnly Property Name_2
public void Name_2 {set;}

IFieldEdit.Precision Property

The precision for field values.

Public WriteOnly Property Precision_2
public void Precision_2 {set;}

Description

Precision is the number of digits in a number. For example, the number 56.78 has a precision of 4. Precision is only valid for fields that are numeric.

Remarks

Precision is always returned as 0 from personal or File geodatabase fields.

IFieldEdit.Precision Property

The precision for field values.

Public WriteOnly Property Precision_2
public void Precision_2 {set;}

Description

Precision is the number of digits in a number. For example, the number 56.78 has a precision of 4. Precision is only valid for fields that are numeric.

Remarks

Precision is always returned as 0 from personal or File geodatabase fields.

IFieldEdit.RasterDef Property

The raster column definition.

Public WriteOnly Property RasterDef_2
public void RasterDef_2 {set;}

IFieldEdit.RasterDef Property

The raster column definition.

Public WriteOnly Property RasterDef_2
public void RasterDef_2 {set;}

IFieldEdit.Required Property

Indicates if the field is required.

Public WriteOnly Property Required_2
public void Required_2 {set;}

Remarks

The Required property only applies to changes to modifying the schema of a Field's properties or blocking it from being deleted. It has no impact on the ability to update or add\delete the values within the field. Also, setting the Required field property to be True will block the user from deleting the field through the GUI, as well as through ArcObjects.

IFieldEdit.Required Property

Indicates if the field is required.

Public WriteOnly Property Required_2
public void Required_2 {set;}

Remarks

The Required property only applies to changes to modifying the schema of a Field's properties or blocking it from being deleted. It has no impact on the ability to update or add\delete the values within the field. Also, setting the Required field property to be True will block the user from deleting the field through the GUI, as well as through ArcObjects.

IFieldEdit.Scale Property

The scale for field values.

Public WriteOnly Property Scale_2
public void Scale_2 {set;}

Description

Scale is the number of digits to the right of the decimal point in a number. For example, the number 56.78 has a scale of 2. Scale applies only to fields that are double.

Remarks

Precision is always returned as 0 from personal or File geodatabase fields.

IFieldEdit.Scale Property

The scale for field values.

Public WriteOnly Property Scale_2
public void Scale_2 {set;}

Description

Scale is the number of digits to the right of the decimal point in a number. For example, the number 56.78 has a scale of 2. Scale applies only to fields that are double.

Remarks

Precision is always returned as 0 from personal or File geodatabase fields.

IFieldEdit.Type Property

The type for the field.

Public WriteOnly Property Type_2
public void Type_2 {set;}

IFieldEdit.Type Property

The type for the field.

Public WriteOnly Property Type_2
public void Type_2 {set;}

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.
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".
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".

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.