ArcObjects Library Reference (Carto)  

IGraphicsContainer.Next Method

Returns the next graphic in the container.

[Visual Basic .NET]
Public Function Next ( _
) As IElement
[C#]
public IElement Next (
);
[C++]
HRESULT Next(
  IElement** Element
);
[C++]

Parameters

Element [out, retval]

  Element is a parameter of type IElement

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGraphicsContainer Interface

.NET Samples

Geoevents in a MapControl (Code Files: GeoEvents) | Committing ink sketches using the controls ink commands (Code Files: InkSketchCommit) | Move a graphic along a path in ArcMap (Code Files: MapGraphicKeyframe) | Subset network evaluators (Code Files: SubsetHelperUI)

.NET Related Topics

Working with map elements | Working with PageLayout elements