ArcObjects Library Reference (NetworkAnalyst)  

INALocationObject.NALocation Property

The network analysis location.

[Visual Basic .NET]
Public Property NALocation As INALocation
public INALocation NALocation {get; set;}
HRESULT get_NALocation(
  INALocation** Location
HRESULT put_NALocation(
  INALocation* Location


Location [out, retval]

  Location is a parameter of type INALocation

Location [in]

  Location is a parameter of type INALocation

Product Availability

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


The NALocation property specifies the "SourceID", "SourceOID", "PosAlong", and "SideOfEdge" fields of the NALocationObject/NALocationFeature

If your feature is newly created, be sure to call IRowSubtypes.InitDefaultValues before retrieving the NALocation.

After setting INALocation properties on the retrieved NALocation, you must add the NALocation back to the INALocationObject in order for the changes to be reflected in the NALocationObject. You must also call Store on the IRow or IFeature interface in order for these changes to be saved in the database.


See Also

INALocationObject Interface