Creating an instance from a System.Type object

  • Thread starter Thread starter Simon Jefferies
  • Start date Start date
S

Simon Jefferies

Hello,

How can I create an instance using a System.Type object?

Thanks
Simon
 
Hello,

How can I create an instance using a System.Type object?

Thanks
Simon

Look at the System.Activator class... Specifically, the CreateInstance
method:

Overloads Public Shared Function CreateInstance (_
ByVal type As Type _
) As Object

HTH
 
Back
Top