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

GetOwnerElementObject – PB Docs 2018 – PowerBuilder Library

GetOwnerElementObject – PB Docs 2018

GetOwnerElementObject

Description

Returns the owner PBDOM_ELEMENT of this PBDOM_ATTRIBUTE. If there
is no owner element, null is returned.

Syntax

Argument

Description

pbdom_attribute_name

The name of the PBDOM_ATTRIBUTE

Return value

PBDOM_ELEMENT. The owner PBDOM_ELEMENT of this PBDOM_ATTRIBUTE or
null if this PBDOM_ATTRIBUTE has no owner element.

Throws

EXCEPTION_PBDOM_OBJECT_INVALID_FOR_USE  — This PBDOM_ATTRIBUTE
object’s internal implementation is null. The occurrence of this
exception is rare but can take place if severe memory corruption
occurs.

Examples

This example creates a PBDOM_DOCUMENT from a string strXML in
which the abc root element contains one attribute, My_Attr. The code
gets this attribute, calls GetOwnerElementObject on it to obtain the
owner element, then calls GetName to return the string abc. Finally, it
sets My_Attr as an attribute of the child element Data:

See also

SetOwnerElementObject


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