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


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

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(
  Boolean* readonlyField
);
[C++]
HRESULT put_Readonly(
  VARIANT_BOOL readonlyField
);
[C++]
Parameters
readonlyField [out, retval]

readonlyField is a parameter of type bool* readonlyField [in]
readonlyField is a parameter of type 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