Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetNames – PB Docs 2019 – PowerBuilder Library

GetNames – PB Docs 2019

GetNames

Description

Retrieves a list of names taken from the part of the
PBDOM_PROCESSINGINSTRUCTION object’s data that is factored into
name=”value” pairs. This method can be used in conjunction with the
GetValue method.

Syntax

Argument

Description

pbdom_pi_name

The name of a PBDOM_PROCESSINGINSTRUCTION
object

name_array

An unbounded string array filled with
names

Return value

Boolean.

Returns true if a list of names is retrieved, and false otherwise.
If there are no name/value pairs, this method returns false.

Examples

Given the following PBDOM_PROCESSINGINSTRUCTION object,
GetNames returns three strings, a, b, and c, even though a occurs more
than once:

When the GetValue method is called on a, the value 4 is returned,
because it is the last value set for a.

Usage

If a name is used more than once as the name of a name/value pair
in a PBDOM_PROCESSINGINSTRUCTION object, then the value set in the last
occurrence of the name is used, and values declared in all previous
occurrences of the name are discarded.


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