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


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

IFieldEdit.Required Property

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 bool

Product Availability

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

Remarks

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.

See Also

IFieldEdit Interface