Adds the specified Graphic 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(
Graphic graphic
) |
Visual Basic (Declaration) |
---|
Public Sub Add ( _
graphic As Graphic _
) |
Remarks
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