This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocationObject Interface > INALocationObject.NALocation Property (ArcObjects .NET 10.5 SDK) |
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
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.