Re: Should a (string) Null have a TypeOf = Boolean
From: Imran Koradia (nospam_at_microsoft.com)
Date: 12/09/04
- Next message: Tony: "Re: Launch a doc file with Process.Start(my.doc), need to know when the file is closed."
- Previous message: Nick Malik: "Re: Is my application running from a console?"
- In reply to: David GB: "Should a (string) Null have a TypeOf = Boolean"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 9 Dec 2004 11:20:18 -0500
By NULL, do you mean Nothing? Could you post the relevant code of the method
and how you are passing the parameters?
Imran.
"David GB" <DavidGB@discussions.microsoft.com> wrote in message
news:F7691BFF-520E-4F0B-9EC1-E5729043F49F@microsoft.com...
> I pass a parameter to a subroutine, and in the subroutine, I check its
'typeof'
>
> If the parameter is a string, but NULL, the Typeof comes up as Boolean,
not
> String.
>
> Is this expected behaviour, or has something corrupted itself in my
project?
>
> VB.Net, Visual Studio 2003
> --
> David Gordon-Brown
- Next message: Tony: "Re: Launch a doc file with Process.Start(my.doc), need to know when the file is closed."
- Previous message: Nick Malik: "Re: Is my application running from a console?"
- In reply to: David GB: "Should a (string) Null have a TypeOf = Boolean"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|