Is it possible to see if an object is null in vb.net without using a try/catch setup?
Thanks
squirrelly1
Printable View
Is it possible to see if an object is null in vb.net without using a try/catch setup?
Thanks
squirrelly1
try:
if myobject is nothing then
There is a function called IsNothing or IsNull . Not sure which one is correct .
Being in VB.NET I believe it's IsNothingQuote:
Originally posted by Pirate
There is a function called IsNothing or IsNull . Not sure which one is correct .
Thanks guys, I thought there was something like that, but I couldn't get anything I tried to work.
L8r,
Squirrelly1