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

MemberExists – PB Docs 2021 – PowerBuilder Library

MemberExists – PB Docs 2021

MemberExists

PowerScript function

Description

Determines whether the named member is part of an OLE object in a
storage. The member can be another OLE object (a substorage) or a
stream.

Applies to

OLEStorage objects

Syntax

Argument

Description

olestorage

The name of an object variable of type OLEStorage that you
want to check

membername

A string whose value is the name of the member that you
want to check

exists

A boolean variable that will store whether or not the
member exists

Return value

Integer.

Returns 0 if it succeeds and one of the following negative values if
an error occurs:

-1 — The storage is not open

-9 — Other error

If any argument’s value is null, MemberExists returns null.

Examples

This example creates a storage object and opens an OLE object in a
file. It checks whether wordobj is a substorage within that object and, if
so, deletes it and saves the object back to the file:

See also

MemberDelete

MemberRename

Open


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