Dela via


Variant Type Constants for Visual Basic 6.0 Users

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

Visual Basic 6.0

Visual Basic 2008 Equivalent

vbVEmpty

VariantType.Empty

vbVNull

VariantType.Null

vbVInteger

VariantType.Short

vbVLong

VariantType.Integer

vbVSingle

VariantType.Single

vbVDouble

VariantType.Double

vbVCurrency

VariantType.Decimal

vbVDate

VariantType.Date

vbVString

VariantType.String

See Also

Reference

VariantType Enumeration

Other Resources

Constant Equivalents for Visual Basic 6.0 Users

Constants and Enumerations (Visual Basic)