ArcObjects Library Reference (Geometry)  

IGeometry.IsEmpty Property

Indicates whether this geometry contains any points.

[Visual Basic .NET]
Public ReadOnly Property IsEmpty As Boolean
public bool IsEmpty {get;}
HRESULT get_IsEmpty(


IsEmpty [out, retval]   IsEmpty is a parameter of type VARIANT_BOOL

Product Availability

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


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 (Code Files: frmClosestFacilitySolver) | Custom reshape polyline edit task (Code Files: ReshapePolylineEditTask) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Custom scene navigation commands (Code Files: Fly) | RSS weather layer (Code Files: AddRSSWeatherLayer) | Triangle graphic element (Code Files: TriangleElementClass)

.NET Related Topics

Creating a plug-in data source | Creating a topology in the geodatabase | How to get screen coordinates from map coordinates