ArcObjects Library Reference (GeoDatabase)  

IObjectClassDescription.RequiredFields Property

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

[Visual Basic .NET]
Public ReadOnly Property RequiredFields As IFields
[C#]
public IFields RequiredFields {get;}
[C++]
HRESULT get_RequiredFields(
  IFields** fieldDescription
);
[C++]

Parameters

fieldDescription [out, retval]

  fieldDescription is a parameter of type IFields

Product Availability

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

Remarks

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 | IFields Interface

.NET Snippets

Create Table | Create FeatureClass

.NET Related Topics

Creating a plug-in data source | Creating annotation and dimension feature classes | Creating class extensions | Creating feature classes | Creating fields | Creating tables