9. .NET Interface : Differences between .NET and Java Interfaces : Representation of Null Values
 
Share this page                  
Representation of Null Values
In the Java interface, a null object reference maps to the VT_NULL VARIANT value. This allows null OpenROAD values to be represented conveniently as null Java object references.
Unfortunately, the .NET COM interoperability layer maps null .NET object references to VT_EMPTY. VT_NULL is mapped to a special object type of class System.DBNull.