Using Type.GetType(typeName)http://blogs.msdn.com/b/suzcook/archive/2003/05/30/using-type-gettype-typename.aspxIf no assembly is specified, Type.GetType() will only look in the calling assembly and then mscorlib.dll for the type. For it to look in any other assembly, you need to give the Type.AssemblyQualifiedName for the type. For example:
Type.GetType("Systemen-USTelligent Evolution Platform Developer Build (Build: 5.6.50428.7875)Putting Anything in a Cell? - Custom Editor Provider for WebDataGridhttp://blogs.msdn.com/b/suzcook/archive/2003/05/30/using-type-gettype-typename.aspx#9483869Tue, 17 Mar 2009 18:13:24 GMT91d46819-8472-40ad-a661-2c78acb4018c:9483869Sung Kim<p>Have you already considered the RowEditTemplate and Templated Column features but would rather use a</p>
<img src="http://blogs.msdn.com/aggbug.aspx?PostID=9483869" width="1" height="1">Type.GetType(typeName)http://blogs.msdn.com/b/suzcook/archive/2003/05/30/using-type-gettype-typename.aspx#8751866Sat, 19 Jul 2008 01:23:09 GMT91d46819-8472-40ad-a661-2c78acb4018c:8751866citykid<p>Dear (royal) Suzanne</p>
<p>This post was very helpful for me. Now, in this second, I debug my Visual Studio Package and have this assembly layout:</p>
<p>Package</p>
<p> --&gt; Language</p>
<p> &nbsp; &nbsp;--&gt; BunnyCore.dll in GAC !!!</p>
<p>In the Language assembly I say</p>
<p>Type t = Type.GetType(&quot;Carrots.Bunny&quot;);</p>
<p>so fulltypename but no assembly is given, and I get back the correct type that refers to the assembly in the GAC !??</p>
<p>Considering your (reasonable) algorithm above, I should get null. Thank you for clarification.</p><div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=8751866" width="1" height="1">re: Using Type.GetType(typeName)http://blogs.msdn.com/b/suzcook/archive/2003/05/30/using-type-gettype-typename.aspx#649011Wed, 28 Jun 2006 00:55:57 GMT91d46819-8472-40ad-a661-2c78acb4018c:649011Jordan SehnThe royal WE is being used above indicating your on that team that owns this feature. &nbsp;Shouldn't the above comments be part of the docs on msdn? &nbsp;I don't seem to see them <a rel="nofollow" target="_new" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemtypeclassgettypetopic1.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemtypeclassgettypetopic1.asp</a><div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=649011" width="1" height="1">re: Using Type.GetType(typeName)http://blogs.msdn.com/b/suzcook/archive/2003/05/30/using-type-gettype-typename.aspx#535975Tue, 21 Feb 2006 15:26:22 GMT91d46819-8472-40ad-a661-2c78acb4018c:535975chris.katsuoHello,
<br>
<br>Is it possible to load a Type which is located in an assembly which is not in the bin folder from the value previously retrieved from Type.AssemblyQualifiedName.
<br>Ex :
<br>/webapp/plugins/TestPlugin1.dll
<br>
<br>load the Class1 into TestPlugin1.dll
<br>from the string
<br>TestPlugin1.Class1, TestPlugin1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
<br>
<br>Thanks in advance for your help
<br>Christophe
<br>
<br><div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=535975" width="1" height="1">re: Using Type.GetType(typeName)http://blogs.msdn.com/b/suzcook/archive/2003/05/30/using-type-gettype-typename.aspx#150261Mon, 07 Jun 2004 18:28:00 GMT91d46819-8472-40ad-a661-2c78acb4018c:150261AndrewIs there a way to specify which assembly but not which version? I'm using reflection to get at InputPanel in Microsoft.WindowsCE.Forms in the compact framework while keeping desktop execution working, and I want a way to say &quot;get this type from this dll or any newer version.&quot; It works for the CF installed on one of my PocketPC's, but not the other, presumably because of a newer CF.<div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=150261" width="1" height="1">