Aracılığıyla paylaş


ToolboxItemContainer.GetFilter(ICollection) Yöntem

Tanım

için ToolboxItemgeçerli filtreyi temsil eden bir nesne koleksiyonu ToolboxItemFilterAttribute döndürür.

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

Parametreler

creators
ICollection

ToolboxItemCreator nesneleri topluluğu.

Döndürülenler

ToolboxItemFilterAttribute nesneleri topluluğu. Bu hiçbir zaman döndürmez null.

Açıklamalar

creators parametresi, filtre oluşturulduğunda dahil edilmesi gereken özel ToolboxItem oluşturucuları temsil eden bir nesne koleksiyonudurToolboxItemCreator. Özel oluşturucular filtrelere katkıda bulunabilir. Oluşturucu gerekmiyorsa bu parametre olabilir null .

içinde ToolboxItem depolanan türlerin kendisiyle ilişkilendirilmiş bir filtresi olabilir. Filtreler, tasarımcılara yerleştirilebilen araçları kısıtlamak için kullanılabilir.

Şunlara uygulanır