ToolboxService.IComponentDiscoveryService.GetComponentTypes(IDesignerHost, Type) 方法

定义

获取可用组件类型的列表。Gets the list of available component types.

 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

提供设计时服务的设计器宿主。The designer host providing design-time services.

baseType
Type

指定要检索的组件的基类型。The base type specifying the components to retrieve. 可以为 nullCan be null.

返回

ICollection

可用组件类型的列表。The list of available component types.

实现

适用于