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


INAClassDefinition.HasLocationFields Property (ArcObjects .NET 10.5 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(
  VARIANT_BOOL* HasLocationFields
);
[C++]

Parameters HasLocationFields [out, retval] HasLocationFields is a parameter of type VARIANT_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