This document is archived and information here might be outdated.  Recommended version.


IGraphicsContainer.AddElements Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicsContainer Interface > IGraphicsContainer.AddElements Method
ArcGIS Developer Help

IGraphicsContainer.AddElements Method

Add new graphic elements to the layer.

[Visual Basic .NET]
Public Sub AddElements ( _
    ByVal Elements As IElementCollection, _
    ByVal zorder As Integer _
)
[C#]
public void AddElements (
    IElementCollection Elements,
    int zorder
);
[C++]
HRESULT AddElements(
  IElementCollection* Elements,
  long zorder
);
[C++]
Parameters
Elements [in]

Elements is a parameter of type IElementCollection* zorder [in]
zorder is a parameter of type long

Product Availability

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

See Also

IGraphicsContainer Interface