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

Namespace:  ESRI.ArcGISExplorer.Mapping
Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)

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 Map 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 Map.

See Also

Relate Topics:
  Contains Method
  FindByName Method
  GetMapItems(T) Method
Created by Atop CHM to web converter,© 2009 all right reserved.