This documentation is archived and is not being maintained.

IComponentDiscoveryService Interface

Enables enumeration of components at design time.

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

public interface class IComponentDiscoveryService
public interface IComponentDiscoveryService
public interface IComponentDiscoveryService
Not applicable.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: