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


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

IElementCollection2.Remove Method

Remove an element from the collection.

[Visual Basic .NET]
Public Sub Remove ( _
    ByVal Element As IElement _
)
[C#]
public void Remove (
    IElement Element
);
[C++]
HRESULT Remove(
  IElement* Element
);
[C++]

Parameters Element [in]
Element is a parameter of type IElement

Product Availability

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

See Also

IElementCollection2 Interface