ArcObjects Library Reference (NetworkAnalyst)  

INALocator.CreateDefault Method

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

Product Availability

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

Remarks

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.

See Also

INALocator Interface