ToolboxItemContainer::GetFilter Method (ICollection^)

 

Returns a collection of ToolboxItemFilterAttribute objects that represent the current filter for the ToolboxItem.

Namespace:   System.Drawing.Design
Assembly:  System.Drawing.Design (in System.Drawing.Design.dll)

public:
virtual ICollection^ GetFilter(
	ICollection^ creators
)

Parameters

creators
Type: System.Collections::ICollection^

A collection of ToolboxItemCreator objects.

Return Value

Type: System.Collections::ICollection^

A collection of ToolboxItemFilterAttribute objects. This never returns null.

The creators parameter is a collection of ToolboxItemCreator objects that represent any custom ToolboxItem creators that should be included when the filter is generated. Custom creators may contribute to the filters. This parameter can be null if no creators are needed.

The types stored in a ToolboxItem may have a filter associated with them. Filters can be used to restrict the tools that can be placed on designers.

.NET Framework
Available since 2.0
Return to top
Show: