Determines whether the specified MapItem can be added to the collection

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public bool CanAdd(
	MapItem item
)
Visual Basic (Declaration)
Public Function CanAdd ( _
	item As MapItem _
) As Boolean

Parameters

item
Type: ESRI.ArcGISExplorer.Mapping..::.MapItem

A MapItem object which represents a type of map content.

Return Value

trueTruetruetrue (True in Visual Basic) if the MapItem can be added to the collection; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

There are several cases where it is not possible to add a MapItem to a MapItemCollection, for more information see the remarks section for this class.

See Also