User Guide

Chapter 1: ColdFusion Tags 175
Sections that follow describe these values and attributes in greater detail.
CFREGISTRY ACTION="GetAll"
Use CFREGISTRY with the GetAll action to return all registry keys and values defined in
a branch. You can access these values as you would any record set.
Syntax <CFREGISTRY ACTION="GetAll"
BRANCH="branch"
TYPE="data type"
NAME="query name"
SORT="criteria">
BRANCH
Required. The name of the registry branch containing the keys or values you want
to access.
TYPE
Optional. The type of data you want to access:
String — Return string values (default).
DWord — Return DWord values.
Key — Return keys.
Any — Return keys and values.
NAME
Required. The name of the record set to contain returned keys and values.
SORT
Optional. Sorts query column data (case-insensitive). Sorts on Entry, Type, and
Value columns as text. Specify any combination of columns from query output in
a comma separated list. ASC (ascending) or DESC (descending) can be specified
as qualifiers for column names. ASC is the default. For example:
Sort="value DESC, entry ASC"
Usage CFREGISTRY returns #Entry#, #Type#, and #Value# in a record set that you can access
through tags such as CFOUTPUT. To fully qualify these variables use the record set
name, as specified in the NAME attribute.
If #Type# is a key, #Value# is an empty string.
If you specify Any for TYPE, GetAll also returns binary registry values. For binary
values, the #Type# variable contains UNSUPPORTED and #Value# is blank.