Equals

Description

Tests for the equality of the current PBDOM_DOCTYPE and a referenced PBDOM_OBJECT.

Syntax

pbdom_doctype_name.Equals(pbdom_object_ref)

Argument

Description

pbdom_doctype_name

The name of a PBDOM_DOCTYPE object

pbdom_object_ref

A PBDOM_OBJECT to test for equality with the current PBDOM_DOCTYPE


Return value

Boolean.

Returns true if the current PBDOM_DOCTYPE is equivalent to the input PBDOM_OBJECT, and false otherwise.

Usage

True is returned only if the referenced PBDOM_OBJECT is also a PBDOM_DOCTYPE and refers to the same DOM Doctype object as the current PBDOM_DOCTYPE.