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


IFieldEdit.Required Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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 VARIANT_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