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


INALocatorFeatureAgent.UseSubtype Property (ArcObjects .NET 10.6 SDK)
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(
  Boolean* UseSubtype
);
[C++]

Parameters UseSubtype [in]
UseSubtype is a parameter of type bool UseSubtype [out, retval]
UseSubtype is a parameter of type 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