ArcObjects Library Reference (Geometry)  

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(
  VARIANT_BOOL* IsEmpty
);
[C++]

Parameters

IsEmpty [out, retval]   IsEmpty is a parameter of type VARIANT_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