Visual Basic .NET Language Type conversion

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • CBool(expression)
  • CByte(expression)
  • CChar(expression)
  • CDate(expression)
  • CDbl(expression)
  • CDec(expression)
  • CInt(expression)
  • CLng(expression)
  • CObj(expression)
  • CSByte(expression)
  • CShort(expression)
  • CSng(expression)
  • CStr(expression)
  • CUInt(expression)
  • CULng(expression)
  • CUShort(expression)

Parameters

Function nameRange for Expression argument
CBoolAny valid Char or String or numeric expression
CByte0 through 255 (unsigned); fractional parts are rounded.
CCharAny valid Char or String expression; only first character of a String is converted; value can be 0 through 65535 (unsigned).


Got any Visual Basic .NET Language Question?