ArcObjects Library Reference (GeoDatabase)  

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
[C#]
public esriGeometryType ShapeType {get;}
[C++]
HRESULT get_ShapeType(
  esriGeometryType* Type
);
[C++]

Parameters

Type [out, retval]

  Type is a parameter of type esriGeometryType

Product Availability

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

Description

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.

Remarks

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