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

IObjectClassDescription.RequiredFields Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IO > IObjectClassDescription Interface > IObjectClassDescription.RequiredFields Property
ArcGIS Developer Help

IObjectClassDescription.RequiredFields Property

The descriptions of the set of required fields for this class.

[Visual Basic .NET]
Public ReadOnly Property RequiredFields As IFields
public IFields RequiredFields {get;}
HRESULT get_RequiredFields(
  IFields** fieldDescription
fieldDescription [out, retval]

fieldDescription is a parameter of type IFields**

Product Availability

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


When implementing the RequiredFields property, it is necessary include an ObjectID field, a geometry field (if a FeatureClass), subtype field, ancillary role or enabled field (if a NetworkFeature type) in addition any other attributes.

See Also

IObjectClassDescription Interface | IFeatureClassDescription Interface | IFields Interface | IClassSchemaEdit Interface