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