User`s guide
296 VEE User’s Guide
7 Using .NET with VEE
Table 3 3 Converting .NET array data types to VEE data types in VEE 7.0
Real32 System.Single Use asClrType() to convert to other .NET/CLR
types. See asClrType() documentation.
Real64 System.Double Use asClrType() to convert to other .NET/CLR
types. See asClrType() documentation.
Text System.String Use asClrType() to convert to other .NET/CLR
types. See asClrType() documentation.
UInt8 System.Byte Use asClrType() to convert to other .NET/CLR
types. See asClrType() documentation.
<scaler of type *> System.Boolean Use asVariantBool() on any scalar VEE data
type that can be cast to an Int16, (UInt8, Int16,
Int32, Real32, Real64, Text). You may also use
the more generic asClrType(), e.g.,
asClrType(veescalar,
System.Boolean)
.
Date/Time System.DateTime VEE’s Date/Time is stored as type Real64.
Use
asClrType(veeDateTime,
System.DateTime)
.
See
examples\dotnet\
DateTime.vee
.
Object System.Object If VEE holds a pointer to a .NET Object.
Convert From .NET Data Type Convert To VEE Data
Ty pe
Notes
System.Boolean Array Int16 Array Use isVariantBool() to determine if the array
was of type System.Boolean
System.Byte Array Uint8 Array