Equals

Description

Tests for the equality of the current PBDOM_PROCESSINGINSTRUCTION object with the supplied PBDOM_OBJECT.

Syntax

pbdom_pi_name.Equals(pbdom_object_ref)

Argument

Description

pbdom_pi_name

The name of a PBDOM_PROCESSINGINSTRUCTION object

pbdom_object_ref

A PBDOM_OBJECT for testing for equality with the current PBDOM_PROCESSINGINSTRUCTION object


Return value

Boolean.

Returns true if the current PBDOM_PROCESSINGINSTRUCTION object is equivalent to the input 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.