Export (0) Print
Expand All
Expand Minimize

VarType Constant Changes in Visual Basic .NET

The following table shows the Visual Basic 6.0 VarType constants and their Visual Basic .NET equivalents.

Visual Basic 6.0Visual Basic .NET Equivalent
vbEmptyVariantType.Empty
vbNullVariantType.Null
vbIntegerVariantType.Short
vbLongVariantType.Integer
vbSingleVariantType.Single
vbDoubleVariantType.Double
vbCurrencyVariantType.Decimal
vbDateVariantType.Date
vbStringVariantType.String
vbObjectVariantType.Object
vbErrorVariantType.Error
vbBooleanVariantType.Boolean
vbVariantVariantType.Variant
vbDataObjectVariantType.DataObject
vbDecimalVariantType.Decimal
vbByteVariantType.Byte
vbUserDefinedTypeVariantType.UserDefinedType
vbArrayVariantType.Array

See Also

Constant Changes in Visual Basic .NET | VariantType (Object Browser) | Constants and Enumerations

Show:
© 2014 Microsoft