This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFieldInfo3 Interface > IFieldInfo3.Readonly Property (ArcObjects .NET 10.5 SDK) |
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
This property determines if the field is read only in clients that choose to implement it.
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.