System.Drawing.Design.ToolboxItem.GetType Method

Creates an instance of the specified type, optionally using a specified designer host and assembly name.

Syntax

protected virtual Type GetType (System.ComponentModel.Design.IDesignerHost host, System.Reflection.AssemblyName assemblyName, string typeName, bool reference)

Parameters

host
The System.ComponentModel.Design.IDesignerHost for the current document. This can be null.
assemblyName
An System.Reflection.AssemblyName that indicates the assembly that contains the type to load. This can be null.
typeName
The name of the type to create an instance of.
reference
A value indicating whether or not to add a reference to the assembly that contains the specified type to the designer host's set of references.

Returns

An instance of the specified type, if it can be located.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Drawing.Design
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0