RegistryValues – PB Docs 2019

RegistryValues

PowerScript function

Description

Obtains the list of named values associated with a key.

Syntax

Argument

Description

key

A string whose value is the key in the system registry for
which you want the values of its subkeys.

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

An array variable of strings in which you want to store
the names.

If the array is variable size, its upper bound will
reflect the number of named values found.

If the array is fixed size, it must be large enough to
hold all the names. However, there will be no way to know how
many names were actually found.

Return value

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 example gets the value names associated with the key Fonts and
stores them in the array ls_valuearray:

See also

RegistryDelete

RegistryGet

RegistryKeys

RegistrySet


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