GetObjectClass

Description

Returns a long integer code that indicates the class of this PBDOM_OBJECT.

Syntax

pbdom_object_name.GetObjectClass()

Argument

Description

pbdom_object_name

The name of the PBDOM_OBJECT


Return value

Long.

A code that indicates the class of the current PBDOM_OBJECT.

Usage

This method returns the following possible values:

Class

Long integer value

UNKNOWN (indicates an error)

0

PBDOM_OBJECT (the base class)

1

PBDOM_DOCUMENT

2

PBDOM_ELEMENT

3

PBDOM_DOCTYPE

4

PBDOM_ATTRIBUTE

5

PBDOM_CHARACTERDATA

6

PBDOM_TEXT

7

PBDOM_CDATA

8

PBDOM_COMMENT

9

PBDOM_PROCESSINGINSTRUCTION

10

PBDOM_ENTITYREFERENCE

11


See also

GetObjectClassString