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


INALocatorFeatureAgent.SnapType Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALocatorFeatureAgent.SnapType Property

The method of snapping used.

[Visual Basic .NET]
Public Property SnapType As esriGeometryHitPartType
[C#]
public esriGeometryHitPartType SnapType {get; set;}
[C++]
HRESULT get_SnapType(
  esriGeometryHitPartType* pHitPartType
);
[C++]
HRESULT put_SnapType(
  esriGeometryHitPartType pHitPartType
);
[C++]

Parameters pHitPartType [out, retval]
pHitPartType is a parameter of type esriGeometryHitPartType pHitPartType [in]
pHitPartType is a parameter of type esriGeometryHitPartType

Product Availability

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

Remarks

The SnapType property determines where along the feature the location will be found.  You can snap to endpoints or vertices (junctions) or anywhere along the line (edges).

See Also

INALocatorFeatureAgent Interface