ToolboxItem.GetType Method (IDesignerHost)

Enables access to the type associated with the toolbox item.

Namespace: System.Drawing.Design
Assembly: System.Drawing (in system.drawing.dll)

public:
Type^ GetType (
	IDesignerHost^ host
)
public Type GetType (
	IDesignerHost host
)
public function GetType (
	host : IDesignerHost
) : Type
Not applicable.

Parameters

host

The designer host to query for ITypeResolutionService.

Return Value

The type associated with the toolbox item.

The designer host is used to access an implementation of the ITypeResolutionService interface. However, the loaded type is not added to the list of references in the designer host.

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

Community Additions

ADD
Show: