Determines whether the collection contains a specified Graphic.

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

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

Relate Topics:
  Add Method
  Clear Method
  GetEnumerator Method
  Remove Method
Created by Atop CHM to web converter,© 2009 all right reserved.