This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocator Interface > INALocator.CreateDefault Method (ArcObjects .NET 10.4 SDK) |
Make the default locators.
[Visual Basic .NET] Public Sub CreateDefault ( _ ByVal network As IDENetworkDataset _ )
[C#] public void CreateDefault ( IDENetworkDataset network );
[C++]
HRESULT CreateDefault(
IDENetworkDataset* network
);
[C++]
Parameters network [in]
network is a parameter of type IDENetworkDataset
CreateDefault will examine the network sources for the inbound network dataset and set up a locator agent for each source as appropriate. Each locator agent is then added to the LocatorAgent collection of the NALocator. Sources that do not support NALocations, like Turn and Hyperedge sources, will not have a locator agent.