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


IVector.IsEmpty Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IVector.IsEmpty Property

Indicates if the vector is empty (unset).

[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

Returns TRUE if all of the components of the vector have undefined (NaN) values.  An Empty vector is NOT the same as a Null vector.

See Also

IVector Interface