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
1 |
<span>pbdom_element_name.</span>GetAttribute(string <span>strName</span>, string <span>strNamespacePrefix</span>, string <span>strNamespaceUri</span>) |
Argument |
Description |
---|---|
pbdom_element_name |
The name of a PBDOM_ELEMENT |
strName |
The name of the PBDOM_ATTRIBUTE |
strNamespacePrefix |
The prefix of the namespace of the PBDOM_ATTRIBUTE |
strNamespaceUri |
The URI of the namespace of the PBDOM_ATTRIBUTE to |
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.