This page lists the type mappings for VB
Note : The VB.Net mapping rules is based on the IDL specification for Java mapping. In order to provide the same CORBA runtime for C# and VB, all the unsigned data types are mapped to the corresponding CLS unsigned types, not the native VB data type. Hence, the same CORBA function declaration can be utilized in Corba program written in VB or C# .
Primitive Types
Complex Types

IDL Primitive Types
string The CORBA string indicates that the method returns an unicode string value.  It maps to VB's String type.
 
						
// CORBA IDL 
string something();

// VB
Function something() As System.String 
or
Function something() As String
wstring The CORBA wstring indicates that the method returns an unicode string value.  It maps to VB's String type.
 

// CORBA IDL 
wstring something();

// VB 
Function something() As System.String
or
Function something() As String
char The CORBA char indicates that the method returns a 16-bit unicode char value.  It maps to VB's Char type.
 

// CORBA IDL 
char something();

// VB 
Function something() As System.Char
or
Function something() As Char
wchar The CORBA wchar indicates that the method returns a 16-bit unicode char value.  It maps to VB's Char type.
 

// CORBA IDL 
wchar something();

// VB 
Function something() As System.Char
or
Function something() As Char
octet The CORBA octet indicates that the method returns an unsigned 8-bit integer value.  It maps to VB's Byte type.
 

// CORBA IDL 
octet something();

// VB 
Function something() As System.UInt8
or
Function something() As Byte
long The CORBA long indicates that the method returns a signed 32-bit integer value.  It maps to VB's Long type.
 

// CORBA IDL 
long something();

// VB 
Function something() As System.Int32
or
Function something() As Integer
unsigned long The CORBA unsigned long indicates that the method returns an unsigned 32-bit integer value.  It maps to VB's System.UInt32 type.
 

// CORBA IDL 
unsigned long something();

// VB 
Function something() As System.UInt32
short The CORBA short indicates that the method returns a signed 16-bit integer value.  It maps to VB's Short type.
 
					
// CORBA IDL 
short something();

// VB 
Function something() As System.Int16
or
Function something() As Short
unsigned short The CORBA unsigned short indicates that the method returns an unsigned 16-bit integer value.  It maps to VB's System.UInt16 type.
 

// CORBA IDL 
unsigned short something();

// VB 
Function something() As System.UInt16
long long The CORBA long long indicates that the method returns a signed 64-bit integer value.  It maps to VB's Long type.
 

// CORBA IDL 
long long something();

// VB 
Function something() As System.Int64
or
Function something() As Long
unsigned long long The CORBA unsigned long long indicates that the method returns an unsigned 64-bit integer value.  It maps to VB's System.UInt64 type.
 

// CORBA IDL 
unsigned long long something();

// VB 
Function something() As System.UInt64
double The CORBA double indicates that the method returns a double precision floating value.  It maps to VB's Double type.
 
		
// CORBA IDL 
double something();

// VB 
Function something() As System.Double
or
Function something() As Double
float The CORBA float indicates that the method returns a single precise floating value.  It maps to VB's Single type.
 

// CORBA IDL 
float something();

// VB 
Function something() As System.Float
or
Function something() As Single
void The CORBA void indicates that the method returns nothing.  It maps to VB's Sub type.
 

						
// CORBA IDL 
void something();

// VB 
Sub something()