Provides access to members that return and set properties of a feature.
| Description | ||
|---|---|---|
![]() |
Class | The Object Class for the row. |
![]() |
Delete | Deletes the row. |
![]() |
Extent | The extent of the feature. |
![]() |
FeatureType | The type of the feature. |
![]() |
Fields | The fields Collection for this row buffer. |
![]() |
HasOID | Indicates if the row has an OID. |
![]() |
OID | The OID for the row. |
![]() |
Shape | A reference to the default shape for the feature. |
![]() |
ShapeCopy | A cloned copy of the default shape for the feature. |
![]() |
Store | Stores the row. |
![]() |
Table | The Table for the row. |
![]() |
Value | The value of the field with the specified index. |
| Interfaces | Description |
|---|---|
| IObject | Provides access to the class the row belongs to. |
| IRow | Provides access to members that return information about the row, the table the row belongs to and storing and deleting the row. |
| IRowBuffer | Provides access to members used for getting and modifying a rows values and for getting the fields in the row. |
| CoClasses and Classes | Description |
|---|---|
| AnnotationFeature (esriCarto) | An ESRI annotation feature. |
| ComplexEdgeFeature | ESRI Complex edge geometric network feature. |
| ComplexJunctionFeature | ESRI Complex junction geometric network feature. |
| CoverageAnnotationFeature | ESRI Coverage Annotation Feature. |
| DimensionFeature (esriCarto) | ESRI Dimension Feature class. |
| Feature | ESRI Feature. |
| GeocodedFeature (esriLocation) | A feature created by a locator. |
| NALocationFeature (esriNetworkAnalyst) | A network location which can be used like feature a row. |
| NATraversalResultElement (esriNetworkAnalyst) | An individual element in a traversal result. |
| RasterCatalogItem | Raster Catalog Feature Class. |
| RelQueryRow | A row defined by a join of the datasets in a RelQueryTable. |
| SimpleEdgeFeature | ESRI Geometric network edge feature. |
| SimpleJunctionFeature | ESRI Geometric network simple junction feature. |
| TemporalFeature (esriTrackingAnalyst) | Controls properties of the Temporal Feature object. |
| TopologyErrorFeature | ESRI Topology Error Feature. |
A Feature is a spatial Object. It is also a member of a feature class, being a row in the feature class table. A feature has an associated shape, the
type of which is defined by the feature class. The possible shape objects are Point, Multipoint, Multipatch, Polyline, and Polygon—these are all objects in the Geometry object model. For more details, see the discussion on the GeometryDef object.
Most likely, you will deal with simple features, but there are various special kinds as defined by the esriFeatureType enumeration. These include
annotation, dimension, and various network features.
One thing to note is that all features still have the same core geometry types of point, multipoint, line, and polygon; an example of this is the annotation feature, whose geometry type is polygon—this represents the envelope of the text element. All the discussion for Row and Object is appropriate to Feature objects.
The IFeature interface extends IObject and IRow from which it inherits. The additional facilities are to do with the shape of the feature. You can use the Shape property to get or set the shape. This can be much more convenient than the alternative of using the Value property, since you don’t have to work out the index of the shape field.
The Shape property is the main link in ArcObjects between the geometry and geodatabase object models.
The ShapeCopy property is a cloned copy of the feature’s Shape. It is commonly used when modifying the geometry of a set of features.
Using C++, you can also define your own custom features with specialized behavior.
IFeatureClass.ShapeFieldName Property | IFeatureClass.CreateFeatureBuffer Method | IFeatureClass.CreateFeature Method | IFeatureClass.AreaField Property | IFeatureClass.LengthField Property