Re: Alernative for Gettype

Mitch Denny <[email protected]> Thu, 20 Jun 2002 09:51:57 +1000
Newsgroups gmane.comp.windows.devel.dotnet.general
Organization MitchDenny
Message-ID <[email protected]>
George,

Your subject lines are getting better! Following what we have
discovered about the limitations of the GetType method on the
Type class, you will need to use a more brute force method of
finding assemblies which contain the Type and namespace you
are after. Peter Drayton, a .NET GOD has a fairly nifty utility
written in C# over at his site called FindTypeEx, the source
is included so you could probably learn what you need from that.

        http://www.razorsoft.net

What I recommend you do is download the FindTypeEx example
and drop the code into your favorite debugger (VS.NET/cordbg
or whatever) and step through the code. No doubt you will
have more specific questions after that.

----------------------------------------
- Mitch Denny
- [email protected]
- +61 (414) 610-141
-

-----Original Message-----
From: The DOTNET list will be retired 7/1/02
[mailto:[email protected]] On Behalf Of george antony
Sent: Wednesday, 19 June 2002 23:45
To: [email protected]
Subject: [DOTNET] Alernative for Gettype


Hi all
Is there any alternative for GetType()
Gettype Takes type as a parameter.
I am not able to type cast a string into type object.
as per my requirement

regards
george


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.