Explicitly converts a value returned by a .NET method to the corresponding ColdFusion data type.

dotnetToCFType(variableName) → returns any

This function requires Adobe ColdFusion 8 and up.  Not supported on Lucee, etc.

Argument Reference

variableName any

Name of the .NET variable to convert.

Links more information about dotnetToCFType

Sample code invoking the dotnetToCFType function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub