ToolboxItem.GetType Method (IDesignerHost, AssemblyName, String, Boolean)
.NET Framework 2.0
Creates an instance of the specified type, optionally using a specified designer host and assembly name.
Namespace: System.Drawing.Design
Assembly: System.Drawing (in system.drawing.dll)
Assembly: System.Drawing (in system.drawing.dll)
protected: virtual Type^ GetType ( IDesignerHost^ host, AssemblyName^ assemblyName, String^ typeName, bool reference )
protected Type GetType ( IDesignerHost host, AssemblyName assemblyName, String typeName, boolean reference )
protected function GetType ( host : IDesignerHost, assemblyName : AssemblyName, typeName : String, reference : boolean ) : Type
Not applicable.
Parameters
- host
The IDesignerHost for the current document. This can be a null reference (Nothing in Visual Basic).
- assemblyName
An AssemblyName that indicates the assembly that contains the type to load. This can be a null reference (Nothing in Visual Basic).
- 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.
Return Value
An instance of the specified type, if it can be located.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.Community Additions
ADD
Show: