ArcObjects Library Reference (GeoDatabase)  

IFieldInfo3.Readonly Property

Indicates how the field should be presented.

[Visual Basic .NET]
Public Property Readonly As Boolean
[C#]
public bool Readonly {get; set;}
[C++]
HRESULT get_Readonly(
  VARIANT_BOOL* readonlyField
);
[C++]
HRESULT put_Readonly(
  VARIANT_BOOL readonlyField
);
[C++]

Parameters

readonlyField [out, retval]   readonlyField is a parameter of type VARIANT_BOOL readonlyField [in]   readonlyField is a parameter of type VARIANT_BOOL

Product Availability

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

Description

This property determines if the field is read only in clients that choose to implement it.

Remarks

Setting the value to true will make the field read only in clients such as the ArcMap editor attribute window. This property only applies to clients that choose to implement it.

In the Arcmap UI this is set in the layer field properties dialog.

See Also

IFieldInfo3 Interface