This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElementCollection2 Interface > IElementCollection2.Clear Method (ArcObjects .NET 10.5 SDK) |
Removes all the elements in the collection.
[Visual Basic .NET]
Public Sub Clear ( _
)
[C#] public void Clear ( );
[C++]
HRESULT Clear(
void
);