Determines whether the collection contains a specified Graphic.

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(
	Graphic graphic
)
Visual Basic (Declaration)
Public Function Contains ( _
	graphic As Graphic _
) As Boolean

Parameters

graphic
Type: ESRI.ArcGISExplorer.Mapping..::.Graphic

The Graphic to search for in the collection.

Return Value

trueTruetruetrue (True in Visual Basic) if the collection contains the specified Graphic; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

Use the Contains method to find out if a particular Graphic object already exists in the collection.

See Also