ArcObjects Library Reference (NetworkAnalyst)  

INALocatorFeatureAgent.UseSubtype Property

Indicates if subtypes should be used to locate features.

[Visual Basic .NET]
Public Property UseSubtype As Boolean
[C#]
public bool UseSubtype {get; set;}
[C++]
HRESULT get_UseSubtype(
  VARIANT_BOOL* UseSubtype
);
[C++]
HRESULT put_UseSubtype(
  VARIANT_BOOL UseSubtype
);
[C++]

Parameters

UseSubtype [out, retval]   UseSubtype is a parameter of type VARIANT_BOOL UseSubtype [in]   UseSubtype is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

Setting the UseSubtype property to true allows you to snap only to features of a specific subtype.  It is used in conjunction with the SubtypeCode property which specifies which subtype to snap to.

See Also

INALocatorFeatureAgent Interface