ArcGIS Explorer Component Help |
GraphicCollection..::.Add Method (IEnumerable<(Of <(Graphic>)>)) |
GraphicCollection Class See Also |
Adds an enumerable set of Graphic objects to the collection.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: 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
Exception | Condition |
---|---|
System..::.ArgumentNullException | The graphic objects added cannot be nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::.ArgumentException | Graphics cannot be added to the collection which are already present in the collection, or are used by Note objects in the map. |
See Also
GraphicCollection..::.Add(IEnumerable<(Of <(Graphic>)>))