The Visual Basic .NET Programming Language

 <  Day Day Up  >  

The Constants module contains a set of constants that provide alternate names to the values of the various enumerations discussed in this appendix. For example, the constant vbExclamation has the same value (48) as the enumerated value MsgBoxStyle.Exclamation . Each enumeration discussed in this appendix lists the constants in the Constants module that correspond to its enumerated values.

Compatibility

The constants in the Constants module are provided to assist in conversion of code from previous versions of Visual Basic. Programmers are encouraged to use the enumerations rather than the constants for greater clarity.

vbNullString = Nothing

A null reference to a string.

vbObjectError = &H80040000

The first user-defined error number. All user -defined error numbers must be greater than this.

 <  Day Day Up  >  

Категории