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


INAClassDefinition.HasLocationFields Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAClassDefinition Interface > INAClassDefinition.HasLocationFields Property
ArcGIS Developer Help

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