This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometry Interface > IGeometry.SetEmpty Method (ArcObjects .NET 10.5 SDK) |
Removes all points from this geometry.
[Visual Basic .NET]
Public Sub SetEmpty ( _
)
[C#] public void SetEmpty ( );
[C++]
HRESULT SetEmpty(
void
);
SetEmpty returns the Geometry to its original initialization state by releasing all data referenced by the Geometry.