ContainerFilterService.FilterComponents Method (ComponentCollection)


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

Filters the component collection.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public virtual ComponentCollection FilterComponents(
	ComponentCollection components


Type: System.ComponentModel.ComponentCollection

The component collection to filter.

Return Value

Type: System.ComponentModel.ComponentCollection

A ComponentCollection that represents a modified collection.

The FilterComponents method filters the component collection by optionally returning a new, modified collection. The default implementation returns the input collection, thereby performing no filtering.

.NET Framework
Available since 2.0
Return to top