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


IElementCollection2.Clear Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IElementCollection2.Clear Method

Removes all the elements in the collection.

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

Product Availability

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

See Also

IElementCollection2 Interface