Skip to main content
.NET Framework Class Library
UIElementCollectionRemove Method

Removes the specified element from a UIElementCollection.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
Syntax
Public Overridable Sub Remove ( _
	element As [%$TOPIC/ms590022_en-us_VS_110_2_0_0_0_0%] _
)
public virtual void Remove(
	[%$TOPIC/ms590022_en-us_VS_110_2_0_1_0_0%] element
)
public:
virtual void Remove(
	[%$TOPIC/ms590022_en-us_VS_110_2_0_2_0_0%]^ element
)
abstract Remove : 
        element:[%$TOPIC/ms590022_en-us_VS_110_2_0_3_0_0%] -> unit  
override Remove : 
        element:[%$TOPIC/ms590022_en-us_VS_110_2_0_3_0_1%] -> unit
public function Remove(
	element : [%$TOPIC/ms590022_en-us_VS_110_2_0_4_0_0%]
)

Parameters

element
Type: System.WindowsUIElement

The element to remove from the collection.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1