Click here to Skip to main content
12,957,007 members (59,572 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


5 bookmarked
Posted 23 Dec 2009

Changing Type

, 15 Feb 2010 CPOL
Sometimes you need to change objects type to another type.Convert.ChangeType does this job for you. But when you use Nullable(Of T), this function throws an exception.You can use the following function to change type(including Nullable types) safely... Private Function CType2(ByVal...


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior) Adasoft
Turkey Turkey
I'm a software developer at Adasoft.
My specialists is on Web and Silverlight.

Especially i like wroting javascript codes(It is much harder,but gets more satisfaction Smile | :) )

You can reach my tips at my homepage(Turkish only)

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.170525.1 | Last Updated 16 Feb 2010
Article Copyright 2009 by yozi
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid