This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElementCollection Interface > IElementCollection.Remove Method (ArcObjects .NET 10.4 SDK) |
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
Removes specific elements from ElementCollection. Query method and TypeOf Statement can be used to determine a particular element before removing it.