Searches the ServiceLayer for a MapItem with a specified unique ID.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public MapItem FindById(
	Guid id
)
Visual Basic (Declaration)
Public Function FindById ( _
	id As Guid _
) As MapItem

Parameters

id
Type: System..::.Guid

The unique ID of a MapItem.

Return Value

A MapItem in the ServiceLayer that matches the specified ID. Returns nullNothingnullptra null reference (Nothing in Visual Basic) if a MapItem with the specified ID is not found in the ServiceLayer.

Remarks

Version Information: This method is supported from version 2.0.0.1500.

See Also