RegistryDelete – PB Docs 126

RegistryDelete PowerScript function

Description

Deletes a key or a value for a key in the Windows system registry.

Syntax

Argument

Description

key

A string whose value is the key in the
system registry you want to delete or whose value you want to delete.

To uniquely identify a key, specify the list of parent keys
above it in the hierarchy, starting with the root key. The keys
in the list are separated by backslashes.

valuename

A string containing the name of a value
in the registry. If the specified key does not have a subkey, specifying
an empty string deletes the key and its named values.

Return Values

Integer. Returns 1 if it succeeds and
-1 if an error occurs.

Usage

For more information about entries in the system registry,
see RegistrySet.

Examples

This statement deletes the value name Title and
its associated value from the registry. The key is not deleted:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x