ArcObjects Library Reference (NetworkAnalyst)  

INALocationObject.NALocation Property

The network analysis location.

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

Parameters

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.

Remarks

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