Type in VB .net

Creator

Newcomer
Joined
Aug 14, 2003
Messages
20
Hi in VB6 we have

Private Type Data

Data1 as integer
;;
;;
;;
End Type

How do I convert it to VB .net
 
Types are now sturctures in .net have a look at the vb help files but the syntax is like the following

Visual Basic:
Private Structure Data
    Public Data1 as Integer
End Structure

Andy
 
Back
Top