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


IGeometry.IsEmpty Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometry Interface > IGeometry.IsEmpty Property
ArcGIS Developer Help

IGeometry.IsEmpty Property

Indicates whether this geometry contains any points.

[Visual Basic .NET]
Public ReadOnly Property IsEmpty As Boolean
[C#]
public bool IsEmpty {get;}
[C++]
HRESULT get_IsEmpty(
  Boolean* IsEmpty
);
[C++]
Parameters
IsEmpty [out, retval]

IsEmpty is a parameter of type bool*

Product Availability

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

Description

IsEmpty returns TRUE when the Geometry object does not contain geometric information beyond its original initialization state.  An object may be returned to its original initialization (IsEmpty = TRUE) state using SetEmpty.

See Also

IGeometry Interface

.NET Samples

Closest facility solver Custom scene navigation commands Custom reshape polyline edit task Location-allocation solver Origin-destination cost matrix solver RSS weather layer Service area solver Triangle graphic element Vehicle routing problem solver