RemoveChildElement Syntax
2
Description
Removes the first child PBDOM_ELEMENT object (one level deep)
that has the local name provided and belongs to the specified
namespace.
Syntax
|
1 |
pbdom_element_name.RemoveChildElement(string strElementName, string strNamespacePrefix, string strNamespaceUri) |
|
Argument |
Description |
|---|---|
|
pbdom_element_name |
The name of a PBDOM_ELEMENT object |
|
strElementName |
The name of the PBDOM_ELEMENT object to |
|
strNamespacePrefix |
Prefix of the namespace of the PBDOM_ELEMENT |
|
strNamespaceUri |
URI of the namespace of the PBDOM_ATTRIBUTE to |
Return value
Boolean.
Returns true if the specified PBDOM_ELEMENT object was removed
and false otherwise.
Throws
EXCEPTION_INVALID_ARGUMENT — If the input parameter is
invalid, for example, null.
EXCEPTION_INVALID_STRING — If the input element name is
invalid or the input namespace prefix or URI is invalid.
See also