Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / October 2003

Tip: Looking for answers? Try searching our database.

Variant

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Klaus L?ffelmann - 26 Oct 2003 18:54 GMT
Hello,

does anybody happens to know, why there is a Variant in the BCL all right,
but it is declared only internal? It almost seems, that "they" planed to
have it in the bcl, but decided later to throw it out?

Thanks

Klaus
Jay B. Harlow [MVP - Outlook] - 26 Oct 2003 21:23 GMT
Klaus,
According to Adam Nathan, in his book ".NET and COM - The Complete
Interoperability Guide" from SAMS press, it is there as an implementation
detail of the COM interop stuff only, hence it is internal.

Adam's book has more details.

Hope this helps
Jay

> Hello,
>
[quoted text clipped - 5 lines]
>
> Klaus
Brian Grunkemeyer - 30 Oct 2003 00:21 GMT
We did originally make Variant public, but we ended up not having a need
for it.  It confused people a bit too much.  We're in a simpler world right
now that users can't confuse themselves over too much - Object is the root
of our inheritance hierarchy, not Variant.  Most of the interesting
functionality for converting between types became the IConvertible
interface, which all of our base data types implement.  And yes, it only
exists for Interop implementation reasons.

Brian Grunkemeyer
MS Base Class Library team
----------------------------------------
This posting is provided as is, and confers no rights.
Klaus L?ffelmann - 30 Oct 2003 01:04 GMT
Many thanks for that info, Brian!

Regards

Klaus

> We did originally make Variant public, but we ended up not having a need
> for it.  It confused people a bit too much.  We're in a simpler world right
[quoted text clipped - 8 lines]
> ----------------------------------------
> This posting is provided as is, and confers no rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.