User Guide
620 Chapter 3: ColdFusion Functions
GetMetaData
Description
Gets metadata (such as the methods, properties, and parameters of a component) associated with
an object that is deployed on the ColdFusion server.
Returns
Structured metadata information: for ColdFusion components (CFCs) and user defined
functions (UDFs), a structure; for query objects, an array of structures.
Category
System functions
Function syntax
GetMetaData(object)
See also
CreateObject
, QueryAddColumn, QueryNew
History
ColdFusion MX 7: Added support for getting query object metadata.
ColdFusion MX: Added this function.
Parameters
Usage
This function provides information about application data, and lets applications dynamically
determine the structure of an object and how to use it. This function is useful for CFCs and
query objects. The metadata for a CFC includes information on the component and its
functions, arguments, and properties. The
getMetaData function also returns metadata for user-
defined functions that not part of CFCs.
Parameter Description
object A ColdFusion component, user-defined function, or query object.
Within a CFC, the parameter can also specify the This scope.