Initializes a new instance of the MapItemFile class.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public MapItemFile(
	string path
)
Visual Basic (Declaration)
Public Sub New ( _
	path As String _
)

Parameters

path
Type: System..::.String

The path to the file. You must specify the full name including the extension (.nmc).

Remarks

A MapItemFile represents a map content file. It contains MapItems and has a ".nmc" file extension. You must specify the path and filename (including the .nmc extension) of the map content file to be created in either the MapItemFile constructor or the Path property before you save the file. You can also use the static Save method and enter the path at that time.

See Also