Description
Tests for the equality of the current PBDOM_CDATA and a referenced PBDOM_OBJECT.
Syntax
pbdom_cdata_name.Equals(pbdom_object pbdom_object_ref)
Argument |
Description |
---|---|
pbdom_cdata_name |
The name of a PBDOM_CDATA |
pbdom_object_ref |
A PBDOM_OBJECT to test for equality with the current PBDOM_CDATA |
Return value
Boolean.
Returns true if the current PBDOM_CDATA object is equivalent to the referenced PBDOM_OBJECT and false otherwise.
Throws
EXCEPTION_PBDOM_OBJECT_INVALID_FOR_USE -- If the input PBDOM_OBJECT is not a reference to an object derived from PBDOM_OBJECT.
Usage
True is returned only if the referenced PBDOM_OBJECT is also a derived PBDOM_CDATA object and refers to the same DOM object as the current PBDOM_CDATA. Two separately created PBDOM_CDATA objects, for example, can contain exactly the same text but not be equal.