Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following table shows the Visual Basic 6.0 VarType constants and their Visual Basic 2008 equivalents in the VariantType Enumeration.
Note
For backward compatibility, the Visual Basic 6.0 VarType constants can still be used in Visual Basic 2008. For more information, see VariantType Enumeration.
Visual Basic 6.0 |
Visual Basic 2008 Equivalent |
---|---|
vbEmpty |
VariantType.Empty |
vbNull |
VariantType.Null |
vbInteger |
VariantType.Short |
vbLong |
VariantType.Integer |
vbSingle |
VariantType.Single |
vbDouble |
VariantType.Double |
vbCurrency |
VariantType.Decimal |
vbDate |
VariantType.Date |
vbString |
VariantType.String |
vbObject |
VariantType.Object |
vbError |
VariantType.Error |
vbBoolean |
VariantType.Boolean |
vbVariant |
VariantType.Variant |
vbDataObject |
VariantType.DataObject |
vbDecimal |
VariantType.Decimal |
vbByte |
VariantType.Byte |
vbUserDefinedType |
VariantType.UserDefinedType |
vbArray |
VariantType.Array |