all groups > dotnet clr > september 2006 >
You're in the

dotnet clr

group:

Type.GetType


Type.GetType Paul
9/18/2006 1:52:02 PM
dotnet clr:
Does anyone know why this line of code returns null and not an instance of
Type?

Re: Type.GetType Jon Shemitz
9/18/2006 2:06:56 PM
[quoted text, click to view]

Given a qualified name without any assembly information, Type.GetType
will only return a Type for types in the current assembly or in
mscorlib. Given the name of a type in any other assembly, Type.GetType
will return null.

System.Drawing.PointF is in system.drawing.dll.

--

..NET 2.0 for Delphi Programmers www.midnightbeach.com/.net
AddThis Social Bookmark Button