ToolboxService.IComponentDiscoveryService.GetComponentTypes 方法

定义

获取可用组件类型的列表。

 virtual System::Collections::ICollection ^ System.ComponentModel.Design.IComponentDiscoveryService.GetComponentTypes(System::ComponentModel::Design::IDesignerHost ^ designerHost, Type ^ baseType) = System::ComponentModel::Design::IComponentDiscoveryService::GetComponentTypes;
System.Collections.ICollection IComponentDiscoveryService.GetComponentTypes (System.ComponentModel.Design.IDesignerHost designerHost, Type baseType);
abstract member System.ComponentModel.Design.IComponentDiscoveryService.GetComponentTypes : System.ComponentModel.Design.IDesignerHost * Type -> System.Collections.ICollection
override this.System.ComponentModel.Design.IComponentDiscoveryService.GetComponentTypes : System.ComponentModel.Design.IDesignerHost * Type -> System.Collections.ICollection
Function GetComponentTypes (designerHost As IDesignerHost, baseType As Type) As ICollection Implements IComponentDiscoveryService.GetComponentTypes

参数

designerHost
IDesignerHost

提供设计时服务的设计器宿主。

baseType
Type

指定要检索的组件的基类型。 可以为 null

返回

可用组件类型的列表。

实现

适用于