IComponentDiscoveryService Interface
.NET Framework (current version)
Enables enumeration of components at design time.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | GetComponentTypes(IDesignerHost^, Type^) | Gets the list of available component types. |
The default implementation of the IComponentDiscoveryService interface enables design-time enumeration of components in the Toolbox.
You could provide a custom implementation that enumerates across other types available at design time. For example, your implementation could enumerate the components that are present in a particular designer.
The following code example demonstrates how to use IComponentDiscoveryService to find all the types that derive from the ScrollableControl type.
.NET Framework
Available since 2.0
Available since 2.0
Show:
