GetAttributes

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

pbdom_element_name.GetAttributes(ref pbdom_attribute pbdom_attribute_array)

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT object

pbdom_attribute_array

An empty and unbounded array to be filled with references to the PBDOM_ATTRIBUTE objects contained in the PBDOM_ELEMENT object


Return value

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.

See also

GetAttribute

GetAttributeValue

HasAttributes

SetAttribute

SetAttributes