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


INATraversalResult.HasGeometry Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INATraversalResult Interface > INATraversalResult.HasGeometry Property
ArcGIS Developer Help

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(
  Boolean* HasGeometry
);
[C++]
Parameters
HasGeometry [out, retval]

HasGeometry is a parameter of type 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