|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IESRIShape Interface > IESRIShape.QueryESRIShapeType Method (ArcObjects .NET 10.5 SDK) | 
Returns the basic type and modifiers (combination of esriShapeModifiers) that define the geometry's shape type, as it was last exported.
[Visual Basic .NET] Public Sub QueryESRIShapeType ( _ ByRef basicShapeType As esriShapeType, _ ByRef shapeModifiers As Integer _ )
[C#] public void QueryESRIShapeType ( ref esriShapeType basicShapeType, ref int shapeModifiers );
[C++]
HRESULT QueryESRIShapeType(
  esriShapeType* basicShapeType,
  long* shapeModifiers
);
[C++]
Parameters basicShapeType
basicShapeType is a parameter of type esriShapeType shapeModifiers shapeModifiers is a parameter of type long