Skip to main content
UIElementCollectionRemoveRange Method
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes a range of elements from a UIElementCollection.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public virtual void RemoveRange(
	int index,
	int count
)
public:
virtual void RemoveRange(
	int index,
	int count
)
abstract RemoveRange : 
        index:int *
        count:int -> unit
override RemoveRange : 
        index:int *
        count:int -> unit
Public Overridable Sub RemoveRange (
	index As Integer,
	count As Integer
)

Parameters

index
Type:

The index position of the element where removal begins.

count
Type:

The number of elements to remove.

.NET Framework
Available since 3.0
Return to top