通过


ToolboxItem.Filter 属性

定义

获取或设置筛选器,该筛选器确定工具箱项是否可用于目标组件。

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

属性值

对象的一ToolboxItemFilterAttributeICollection

注解

Filter属性集合包含ToolboxItemFilterAttribute的对象,这些对象指定设计时环境用于确定工具箱项是否可以在目标组件上使用的策略。

有关限制可使用范围 ToolboxItem 的详细信息,请参阅该 ToolboxItemFilterAttribute 类的文档。

适用于

另请参阅