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.1500 (2.0.0.1500)

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