newInstance

Return a new instance of the class with the given name.

  1. Object newInstance(ClassInfo classInfo)
  2. Object newInstance(string name)
    Object
    newInstance
    (
    string name
    )

Parameters

name string

the fully qualified name of the class

Return Value

Type: Object

a new instance or null if the class name could not be found

Meta