ArcObjects Library Reference (Controls)  

IEngineNetworkAnalystHelper.AddNetworkLocation Method

Adds a network location to the NAWindow at the specified point.

[Visual Basic .NET]
Public Sub AddNetworkLocation ( _
    ByVal pPoint As IPoint, _
    ByVal Name As String _
)
[C#]
public void AddNetworkLocation (
    IPoint pPoint,
    string Name
);
[C++]
HRESULT AddNetworkLocation(
  IPoint* pPoint,
  BSTR Name
);
[C++]

Parameters

pPoint [in]

  pPoint is a parameter of type IPoint

Name [in]   Name is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine.

Description

Adds the specified point to the IEngineNAWindow::ActiveCategory of the IEngineNAWindow::ActiveAnalysis layer as a network location.

See Also

IEngineNetworkAnalystHelper Interface