CreateObject

Description

Creates a ColdFusion object, of a specified type.

Return value

An object, of the specified type.

Note:   You can enable and disable this function in the ColdFusion Administrator, ColdFusion Basic Security, Tag Restrictions page.

Category

Extensibility functions

History

New in ColdFusion MX: This function, and the cfobject tag, can instantiate ColdFusion components and web services. Executing operations on a CFC object executes CFML code that implements the CFC's method in the CFC file.

For more information, see Developing ColdFusion MX Applications with CFML.

CreateObject object types

For information about using this function, see these sections:

Note:   On UNIX, this function does not support COM objects.

Comments