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


IGeometryFactory.CreateEmptyGeometryByESRIType Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometryFactory Interface > IGeometryFactory.CreateEmptyGeometryByESRIType Method
ArcGIS Developer Help

IGeometryFactory.CreateEmptyGeometryByESRIType Method

Create an empty geometry of the specified Esri shape file type.

[Visual Basic .NET]
Public Sub CreateEmptyGeometryByESRIType ( _
    ByVal shapeType As esriShapeType, _
    ByRef outGeometry As IGeometry _
)
[C#]
public void CreateEmptyGeometryByESRIType (
    esriShapeType shapeType,
    ref IGeometry outGeometry
);
[C++]
HRESULT CreateEmptyGeometryByESRIType(
  esriShapeType shapeType,
  IGeometry** outGeometry
);
[C++]
Parameters
shapeType 

shapeType is a parameter of type esriShapeType outGeometry [out]
outGeometry is a parameter of type IGeometry**

Product Availability

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

See Also

IGeometryFactory Interface