This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFieldEdit Interface > IFieldEdit.Required Property (ArcObjects .NET 10.4 SDK) |
Indicates if the field is required.
[Visual Basic .NET]
Public WriteOnly Property Required_2
[C#] public void Required_2 {set;}
[C++]
HRESULT put_Required(
VARIANT_BOOL
);
[C++]
Parameters [in] is a parameter of type VARIANT_BOOL
The Required property only applies to changes to modifying the schema of a Field's properties or blocking it from being deleted. It has no impact on the ability to update or add\delete the values within the field. Also, setting the Required field property to be True will block the user from deleting the field through the GUI, as well as through ArcObjects.