This document is archived and information here might be outdated. Recommended version. |
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*
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.