ToolboxItemContainer.GetFilter(ICollection) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一組 ToolboxItemFilterAttribute 代表當前過濾器的 ToolboxItem物件集合。
public:
virtual System::Collections::ICollection ^ GetFilter(System::Collections::ICollection ^ creators);
public virtual System.Collections.ICollection GetFilter(System.Collections.ICollection creators);
abstract member GetFilter : System.Collections.ICollection -> System.Collections.ICollection
override this.GetFilter : System.Collections.ICollection -> System.Collections.ICollection
Public Overridable Function GetFilter (creators As ICollection) As ICollection
參數
- creators
- ICollection
物件的 ToolboxItemCreator 集合。
傳回
物件的 ToolboxItemFilterAttribute 集合。 這個問題再也沒有回來 null。
備註
參數 creators 是一組 ToolboxItemCreator 物件,代表任何在產生篩選器時應包含的自訂 ToolboxItem 創作者。 自訂創作者可能會為篩選器做出貢獻。 這個參數可以在不需要創作者的情況下。null
儲存在 a ToolboxItem 中的型別可能帶有一個過濾器。 過濾器可用來限制設計師可使用的工具。