Is it possible to check and see what data type a variable is in a conditional statement?

Ex:
Dim x as Integer = 1

If x Is Integer Then
MessageBox.Show("Int")
Else
MessageBox.Show("Other")
End IF

Thanks,
-Patrick