Creates an instance of the specified type, optionally using a specified designer host and assembly name.
- 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.
An instance of the specified type, if it can be located.