Adds an enumerable set of Graphic objects to the collection.

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

Syntax

C#
public void Add(
	IEnumerable<Graphic> graphics
)
Visual Basic (Declaration)
Public Sub Add ( _
	graphics As IEnumerable(Of Graphic) _
)

Parameters

graphics
Type: System.Collections.Generic..::.IEnumerable<(Of <(Graphic>)>)
An enumerable set containing Graphic objects.

Remarks

Use this overload to add multiple graphics to the collection in one method call.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThe graphic objects added cannot be nullNothingnullptra null reference (Nothing in Visual Basic).
System..::.ArgumentExceptionGraphics cannot be added to the collection which are already present in the collection, or are used by Note objects in the map.

See Also

Relate Topics:
  Add Method (Graphic)
Created by Atop CHM to web converter,© 2009 all right reserved.