IT Questions and Answers :)

Saturday, July 18, 2020

In Microsoft .Net, the value of VBNULL is

In Microsoft .Net, the value of VBNULL is

  • 0
  • 1
  • Nothing
  • -1 
In Microsoft .Net, the value of VBNULL is

EXPLANATION

Indicates that the type of a variant object is Nothing. Returned by the VarType function.
C#
public const Microsoft.VisualBasic.VariantType vbNull = 1;
 
vbNull is a Long with a value of 1. It is probably the most misunderstood constant in all of Visual Basic. It is a variable type constant like vbEmpty (0), vbInteger (2), vbLong (3) etc 

 


Share:

0 comments:

Post a Comment

Popular Posts