Loads the map document (.nmf) at the specified path into the application.

Namespace:  ESRI.ArcGISExplorer.Application

Assembly:  ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public static void LoadDocument(
	string path
)
Visual Basic (Declaration)
Public Shared Sub LoadDocument ( _
	path As String _
)

Parameters

path
Type: System..::.String

The file system path to the .nmf file to be loaded.

Remarks

Calling this method will close the currently open document, and then open the specified document. This will trigger the DocumentClosed and DocumentOpened events.

Any application-driven prompts will be shown.

See Also