Bagikan melalui


ToolboxService.IComponentDiscoveryService.GetComponentTypes Metode

Definisi

Mendapatkan daftar jenis komponen yang tersedia.

 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

Parameter

designerHost
IDesignerHost

Host perancang menyediakan layanan waktu desain.

baseType
Type

Jenis dasar yang menentukan komponen yang akan diambil. Dapat berupa null.

Mengembalikan

Daftar jenis komponen yang tersedia.

Penerapan

Berlaku untuk