Saves the specified collection of map items to a MapItemFile.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public static void Save<T>(
	IEnumerable<T> items,
	string path
)
where T : MapItem
Visual Basic (Declaration)
Public Shared Sub Save(Of T As MapItem) ( _
	items As IEnumerable(Of T), _
	path As String _
)

Parameters

items
Type: System.Collections.Generic..::.IEnumerable<(Of <(T>)>)

A enumerable set of MapItem objects to save into the MapItemFile.
path
Type: System..::.String

The path to the map content file (.nmc).

Type Parameters

T
A type of MapItem

Remarks

Use this overload to add multiple map items to the MapItemFile in one method call. A MapItemFile is a simply a collection of MapItems.

See Also