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 > INAContext Interface > INAContext.Locator Property (ArcObjects .NET 10.5 SDK) |
The locator used for finding network locations for class items.
[Visual Basic .NET] Public ReadOnly Property Locator As INALocator
[C#] public INALocator Locator {get;}
[C++]
HRESULT get_Locator(
INALocator** Locator
);
[C++]
Parameters Locator [out, retval]
Locator is a parameter of type INALocator
Locator returns the default NALocator for the NAClass.
The locator is used by the network analyst loading tools when it tries to locate NALocationObjects. You can set the Locator property on the INAContextEdit interface to change the default locator. You can also override the locator used if you call NAClassLoader programmatically.