[IronPython] Type.GetType returns None

Michael Foord fuzzyman at voidspace.org.uk
Sat Mar 10 15:20:43 CET 2007


Hello all,

Why does "Type.GetType(string)" return None from IronPython ?

I need to use it with names like "Console", "int" and "string" - 
fetching the .NET type objects. I guess this is because of the reflected 
types ? Do I have an alternative that will work ? (other than stub C#).

All the best,

Michael Foord

http://www.voidspace.org.uk/ironpython/



More information about the Ironpython-users mailing list