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


IGeometryFactory.CreateEmptyGeometryByType 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.CreateEmptyGeometryByType Method
ArcGIS Developer Help

IGeometryFactory.CreateEmptyGeometryByType Method

Creates an empty geometry of the specified ArcObjects geometry type.

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

GeometryType is a parameter of type esriGeometryType outGeometry [out]
outGeometry is a parameter of type IGeometry**

Product Availability

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

See Also

IGeometryFactory Interface