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


INATraversalResult.HasGeometry Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INATraversalResult.HasGeometry Property

Indicates if the result has geometry.

[Visual Basic .NET]
Public ReadOnly Property HasGeometry As Boolean
[C#]
public bool HasGeometry {get;}
[C++]
HRESULT get_HasGeometry(
  VARIANT_BOOL* HasGeometry
);
[C++]

Parameters HasGeometry [out, retval] HasGeometry is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

The property HasGeometry returns true if the InferGeometry method has been called on the INATraversalResultEdit interface.  If HasGeometry returns false, the features in the traversal result do not have a geometry yet.

See Also

INATraversalResult Interface