PBDOM_ELEMENT:
GetAttributeValue Syntax 2 method
Description
Returns the string value of the PBDOM_ATTRIBUTE object
(within a PBDOM_ELEMENT object) with the specified name
and within the specified namespace.
Syntax
|
1 |
<span>pbdom_element_name.</span>GetAttributeValue( string <span>strAttributeName</span>, string <span>strNamespacePrefix</span>, string <span>strNamespaceUri</span>) |
|
Argument |
Description |
|---|---|
|
pbdom_element_name |
The name of a PBDOM_ELEMENT |
|
strAttributeName |
The name of the attribute whose value |
|
strNamespacePrefix |
The prefix of the namespace of the PBDOM_ATTRIBUTE whose |
|
strNamespaceUri |
The URI of the namespace of the PBDOM_ATTRIBUTE whose |
Return Values
String. The string value of the PBDOM_ATTRIBUTE
object specified in strAttributeName. If no
such object exists, the GetAttributeValue method
returns an empty string.
Throws
EXCEPTION_INVALID_ARGUMENT – If
any of the input arguments is invalid, for example, null.
EXCEPTION_MEMORY_ALLOCATION_FAILURE – If
there was any memory allocation failure during the execution of
this method.
EXCEPTION_INVALID_NAME – If
the input attribute name or namespace prefix or namespace URI is
invalid.