GetAttribute Syntax 2 – PB Docs 126

PBDOM_ELEMENT:

GetAttribute Syntax 2 method

Description

Returns the PBDOM_ATTRIBUTE object for a PBDOM_ELEMENT
object with the name provided and within the namespace specified
by the prefix and URI provided.

Syntax

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT
object

strName

The name of the PBDOM_ATTRIBUTE
to be returned

strNamespacePrefix

The prefix of the namespace of the PBDOM_ATTRIBUTE
to return

strNamespaceUri

The URI of the namespace of the PBDOM_ATTRIBUTE to
return

Return Values

PBDOM_ATTRIBUTE. The PBDOM_ATTRIBUTE object
matching the name, namespace prefix, and URI specified in the method
parameters. If no such PBDOM_ATTRIBUTE object exists, the GetAttribute method
returns a value of null.

Throws

EXCEPTION_INVALID_ARGUMENT – If
any of the arguments is invalid, for example, null.

EXCEPTION_MEMORY_ALLOCATION_FAILURE – If
there was any memory allocation failure during the running of this
method.

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