IComponentDiscoveryService Interface

 

Enables enumeration of components at design time.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

public interface class IComponentDiscoveryService

NameDescription
System_CAPS_pubmethodGetComponentTypes(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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: