Upraviť

Zdieľať cez


ToolboxItem.Filter Property

Definition

Gets or sets the filter that determines whether the toolbox item can be used on a destination component.

public:
 property System::Collections::ICollection ^ Filter { System::Collections::ICollection ^ get(); void set(System::Collections::ICollection ^ value); };
public System.Collections.ICollection Filter { get; set; }
member this.Filter : System.Collections.ICollection with get, set
Public Property Filter As ICollection

Property Value

An ICollection of ToolboxItemFilterAttribute objects.

Remarks

The Filter property collection contains ToolboxItemFilterAttribute objects that specify the policy that the design-time environment uses to determine whether a toolbox item can be used on the destination component.

For more information on restricting the scope in which a ToolboxItem can be used, see the documentation for the ToolboxItemFilterAttribute class.

Applies to

See also