GetAttributeValue Syntax
2
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 |
pbdom_element_name.GetAttributeValue( string strAttributeName, string strNamespacePrefix, string strNamespaceUri) |
|
Argument |
Description |
|---|---|
|
pbdom_element_name |
The name of a PBDOM_ELEMENT object |
|
strAttributeName |
The name of the attribute whose value is to be |
|
strNamespacePrefix |
The prefix of the namespace of the |
|
strNamespaceUri |
The URI of the namespace of the PBDOM_ATTRIBUTE |
Return value
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.
See also