Opens the specified road network and loads it into memory.


Namespace: AspMap
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Function Open( _ 
   ByVal shapeFile As String,  _ 
   ByVal networkFile As String _ 
) As Boolean
C#
public bool Open(
   string shapeFile,
   string networkFile
)
C++
public:
 bool Open(
   String shapeFile,
   String networkFile
) sealed 
J#
public bool Open(
   string shapeFile,
   string networkFile
)
JScript
public  function Open(
   shapeFile : String,
   networkFile : String
) : bool

Parameters

shapeFile
The path and name of a shapefile (.shp) or TAB file (.tab) that was used to generate a road network.
networkFile
The path and name of a road network file (.rtn).

Return Value

The method returns True if the road network loaded successfully.

See Also