getMetadata

Gets metadata (the methods, properties, and parameters of a component) associated with an object that is deployed on the CFML server.

getMetadata(value) → returns any

Argument Reference

value any
Required

A ColdFusion component, user-defined function, or ColdFusion query. Within a CFC, the parameter can also specify the this scope.

Examples
Sample code invoking the getMetadata function

CF 9+

writeDump(getMetadata(new Query()));

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

Fork me on GitHub