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

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

IFeatureClass.ShapeType Property

The type of the default Shape for the features in this feature class.

[Visual Basic .NET]
Public ReadOnly Property ShapeType As esriGeometryType
public esriGeometryType ShapeType {get;}
HRESULT get_ShapeType(
  esriGeometryType* Type
Type [out, retval]

Type is a parameter of type esriGeometryType*

Product Availability

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


ShapeType returns the basic type of geometry of a shape. For the purposes of using the ShapeType property in deciding how to render/symbolize a layer, only esriGeometryPolyline, esriGeometryPolygon, esriGeometryPoint, esriGeometryMulitpoint, and esriGeometryMultipatch need to be checked. All the other types will report as being one of these five types. The reason is that esriGeometryBezier3Curve or esriGeometryPath, etc. can be segments or parts of another shape.


This read-only property returns the shape type for the feature class. This shape type can be one of the following esriGeometryType.

See Also

IFeatureClass Interface | IFeatureClass.ShapeType Property | esriGeometryType Constants

.NET Samples

Buffer snap agent 3D dynamic element tracking Multivariate renderer ArcGIS Network Analyst extension Engine application StreetMap routing