This document is archived and information here might be outdated. Recommended version. |
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.