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


INAClassDefinition.HasLocationFields Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAClassDefinition.HasLocationFields Property

Indicates if the class has location fields.

[Visual Basic .NET]
Public ReadOnly Property HasLocationFields As Boolean
[C#]
public bool HasLocationFields {get;}
[C++]
HRESULT get_HasLocationFields(
  Boolean* HasLocationFields
);
[C++]

Parameters HasLocationFields [out, retval]
HasLocationFields is a parameter of type bool*

Product Availability

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

Remarks

HasLocationFields returns true if the NAClass has the 4 fields (SourceID, SourceOID, PosAlong, and SideOfEdge)  that are necessary to represent network locations.

See Also

INAClassDefinition Interface