Some of the results from this method return a ComValue object (shown with a *) that can only be used with InvokeMethod/SetProperty calls rather than direct access of a .NET object.
Int16* Int64* Byte* (pass integer) DbNull* (pass null) Decimal Binary Byte
Note that you can also use the ComValue class directly from your code as it provides a few additional features that this simple helper function does not expose.
o.ConvertToDotNetValue(lvValue, lcType)
lcType
The type to convert to on t