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