I dont understand why you want to do this, however this is how:
Module Module1
Sub Main()
Dim value As Integer = 5
Dim type As VariantType = VarType(value)
Console.WriteLine(type.ToString())
Console.WriteLine(value.GetType().ToString())
If type = VariantType.Integer Then
Console.WriteLine("It's an integer!")
End If
End Sub
End Module
http://www.dotnetperls.com/vartype[
^]