PBDOM_ELEMENT:
GetAttributes method
Description
Returns
the complete set of PBDOM_ATTRIBUTE objects for a PBDOM_ELEMENT
object.
If there are no PBDOM_ATTRIBUTE objects for the PBDOM_ELEMENT object,
the GetAttributes method returns an empty array.
Syntax
1 |
<span>pbdom_element_name.</span>GetAttributes(ref pbdom_attribute <span>pbdom_attribute_array</span>) |
Argument |
Description |
---|---|
pbdom_element_name |
The name of a PBDOM_ELEMENT |
pbdom_attribute_array |
An empty and unbounded array to be filled |
Return Values
Boolean. Returns true if
an array of PBDOM_ATTRIBUTE objects for the PBDOM_ELEMENT
object has been retrieved, and false otherwise.
Usage
GetAttributes returns the complete set
of PBDOM_ATTRIBUTE objects for a PBDOM_ELEMENT
object as an array of PBDOM_ATTRIBUTE objects, or as an
empty list (empty array) if there are none. The returned array items
are “live” and changes to any item affect the
referenced PBDOM_ATTRIBUTE.