ComValue.GetTypeName

Returns the name of the actual .NET type (not what FoxPro converts it to) actually stored on the .Value property.

Use this function to debug issues, to ensure that the actual type stored on the ComValue object is what you expect it to be without passing the value to FoxPro first, which causes it to be converted to FoxPro type info.

loValue = loBridge.CreateComValue()
loValue.SetValueFromSystemConvert("ToUInt64","23")
? loValue.ToString()     && 23
? loValue.GetTypeName()  && System.UInt64
o.ComValue.GetTypeName()

See also:

Class ComValue

© West Wind Technologies, 1996-2022 • Updated: 06/05/16
Comment or report problem with topic