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


IFeatureClass Interface (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureClass Interface
ArcGIS Developer Help

IFeatureClass Interface

Provides access to members that control the behavior and properties of a feature class.

Product Availability

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

When To Use

The IFeatureClass interface is the main interface for getting and setting properties of a feature class. For example, use the IFeatureClass interface to get the type of feature class, get a count of features that satisfy some query, or create a new feature in the feature class. The IFeatureClass interface inherits from the IObjectClass interface.

Members

Name Description
Method AddField Adds a field to this object class.
Method AddIndex Adds an index to this object class.
Read-only property AliasName The alias name of the object class.
Read-only property AreaField The geometry area field.
Read-only property CLSID The GUID for the COM Class (CoClass) corresponding to instances of this object class.
Method CreateFeature Create a new feature, with a system assigned object ID and null property values.
Method CreateFeatureBuffer Create a feature buffer that can be used with an insert cursor.
Method DeleteField Deletes a field from this object class.
Method DeleteIndex Deletes an index from this object class.
Read-only property EXTCLSID The GUID for the COM Class (CoClass) corresponding to the class extension for this object class.
Read-only property Extension The extension for this object class.
Read-only property ExtensionProperties The extension properties for this object class.
Read-only property FeatureClassID The unique ID for the Feature Class.
Method FeatureCount The number of features selected by the specified query.
Read-only property FeatureDataset The feature dataset that contains the feature class.
Read-only property FeatureType The type of features in this feature class.
Read-only property Fields The fields collection for this object class.
Method FindField The index of the field with the specified name.
Method GetFeature Get the feature with the specified object ID.
Method GetFeatures Get a cursor of Rows given a set of object ids.
Read-only property HasOID Indicates if the class has an object identity (OID) field.
Read-only property Indexes The indexes collection for this object class.
Method Insert Returns a cursor that can be used to insert new features.
Read-only property LengthField The geometry length field.
Read-only property ObjectClassID The unique ID for the object class.
Read-only property OIDFieldName The name of the field corresponding to the OID.
Read-only property RelationshipClasses The relationship classes in which this object class participates in for the specified role.
Method Search Returns an object cursor that can be used to fetch feature objects selected by the specified query.
Method Select Returns a selection That contains the object ids selected by the specified query.
Read-only property ShapeFieldName The name of the default sShape field.
Read-only property ShapeType The type of the default Shape for the features in this feature class.
Method Update Returns a cursor that can be used to update features selected by the specified query.

Inherited Interfaces

Interfaces Description
IObjectClass Provides access to members that return information about an object class.
IClass Provides access to members that return information about and manage the class.

Classes that implement IFeatureClass

Classes Description
FeatureClass Esri Feature Class object.
NAClass (esriNetworkAnalyst) Holds features used as input and generated as output during network analysis.
RasterCatalog A collection of raster datasets in a Geodatabase table.
RelQueryTable An object that joins two datasets based on common data values.
RouteEventSource (esriLocation) Route event source object.
SchematicInMemoryFeatureClass (esriSchematic) Schematic in memory feature class object.
TemporalFeatureClass (esriTrackingAnalyst) Controls settings for the temporal feature class.
TemporalRecordSet (esriTrackingAnalyst) Defines the COM coclass for the TemporalRecordSet COM object.
XYEventSource XY event source object.

Remarks

Feature classes can be created using the IFeatureWorkspace.CreateFeatureClass and IFeatureDataset.CreateFeatureClass methods.

See Also

IClass Interface | IObjectClass Interface | INetworkClass Interface

.NET Samples

Create camera flyby from path Closest facility solver Buffer snap agent Cut polygons without selection edit task Tabbed feature inspector Editing using a custom form Get and set key properties on a mosaic dataset 3D dynamic element tracking Calculate area geoprocessing function tool Executing geoprocessing tools in the background Location-allocation solver Multivariate renderer Add a traversal result to the map ArcGIS Network Analyst extension barrier location editor ArcGIS Network Analyst extension barrier location editor ArcGIS Network Analyst extension Engine application Origin-destination cost matrix solver Points along line construction tool Extending the replication synchronization process Route layer RSS weather GraphicTracker RSS weather layer RSS weather layer Implementing associations between GIS features and schematic features Utility wizard for basic schematic datasets configuration Implementing extended criteria for some predefined schematic rules Implementing an XML builder external component Selection restriction evaluator Service area solver Simple point plug-in data source StreetMap routing Retrieve a color ramp from the SymbologyControl Add and symbolize a historical temporal layer in ArcMap Adding a real-time feed to ArcMap Tabbed feature inspector Play back tracking data Vehicle routing problem solver