Determines whether the Folder contains a specified MapItem.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

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

Parameters

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

The MapItem to search for in the ChildItems of the Folder.

Return Value

trueTruetruetrue (True in Visual Basic) if the item is found in the Folder; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

You may wish to use the Contains method to find out if a particular MapItem object already exists in the ChildItems of the Folder if you are not certain if the item is a child of the Folder or not.

Version Information: This method is supported from version 2.0.0.1500.

See Also