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).