Below given Shared function will check whether object is value type or not?
Public Shared Function CheckType(ByVal objType As Object) As Boolean
Return (TypeOf (objType) Is System.ValueType)
End Function
It returns true, if object is value type, else false.
Thanks,
Virendra Dugar