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