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


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

IField.Editable Property

Indicates if the field is editable.

[Visual Basic .NET]
Public ReadOnly Property Editable As Boolean
[C#]
public bool Editable {get;}
[C++]
HRESULT get_Editable(
  Boolean* IsEditable
);
[C++]
Parameters
IsEditable [out, retval]

IsEditable is a parameter of type bool*

Product Availability

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

Remarks

The Editable property of a field should always be set to TRUE.  Setting it to FALSE will prevent all users from editing the contents of the field.  To set a field to be read-only, use the IFieldInfo3.ReadOnly property.

It is best to loop through the fields of a feature and skip the fields that are not editable, rather than allowing users to attempt to edit fields that cannot be edited.

See Also

IField Interface