Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
Syntax
Dim result As Byte = CByte (expression)
Description
The CByte function converts expression to the Byte data type. Usage at a Glance
Example
Dim targetNumber As Byte If IsNumeric(stringNumber) Then targetNumber = CByte(stringNumber) End If
See Also
CSByte Function |
Категории