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


IGeometryFactory.CreateEmptyGeometryByType Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

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