ArcObjects Library Reference (Carto)  

IGraphicsContainer.DeleteAllElements Method

Delete all the elements.

[Visual Basic .NET]
Public Sub DeleteAllElements ( _
)
[C#]
public void DeleteAllElements (
);
[C++]
HRESULT DeleteAllElements(
void
);

Product Availability

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

See Also

IGraphicsContainer Interface