CFPROPERTY  
Description

Defines components as complex types that are used for web services authoring. The attributes of this tag are exposed as component metadata and are subject to inheritance rules.

 
Category

Extensibility tags

 
Syntax
    <cfproperty 
   name="name" 
   type="type" 
   ...>

  
 
See also

cfargument, cfcomponent, cffunction, cfinvoke, cfinvokeargument, cfobject, cfreturn

 
History

New in ColdFusion MX: This tag is new.

 
Usage

You must position cfproperty tags at the beginning of a component, above executable code and function definitions.

If at least one cfproperty tag that has a property within it is present within a component, the property metadata is present in the component metadata.

NAME  
  Required
 

A string; a property name. Must be a static value.

TYPE  
  Optional
 

A string; a property type name; data type.

  • any
  • array
  • binary
  • boolean
  • date
  • guid
  • numeric
  • query
  • string
  • struct
  • uuid
  • variableName
  • a component name

If the value is not a recognized type, ColdFusion processes it as a component name