Adobe ColdFusion 8

cfregistry action = "delete"

Description

Deletes a registry key or value.

Syntax

<cfregistry 
    action = "delete"
    branch = "branch"
    entry = "key or value">

Note: You can specify this tag's attributes in an attributeCollection attribute whose value is a structure. Specify the structure name in the attributeCollection attribute and use the tag's attribute names as structure keys.

See also

"Using Persistent Data and Locking"7 in the ColdFusion Developer's Guide

Attributes

Attribute

Req/Opt

Default

Description

action

Required

 

Always delete.

branch

Required

 

  • For key deletion: name of registry key to delete. Do not specify the entry attribute.
  • For value deletion: name of registry branch that contains value to delete. You must specify the entry attribute.

entry

Required for value deletion

 

Value to delete.

Usage

If you delete a key, the cfregistry tag also deletes values and subkeys defined beneath it.

Example

<cfregistry action = "delete"
    branch = "HKEY_LOCAL_MACHINE\Software\cflangref\tempkey"
    entry = "LastCFM01">
<h1>cfregistry action = "delete"</h1>