Returns a listing of the member names of an object.

Syntax

Enumerate(<oRef>)

<oRef>)

Object reference to any valid object.

Description

Use ENUMERATE( ) to retrieve a listing of the member names of an object with each member name identified as a property, event, or method of the specified object.

ENUMERATE( ) returns an AssocArray object. Each index into the AssocArray is a member name for the enumerated object. The value of the index is filled with one of the following values:

 

 

Value

Description

P

The type of member is a property.

E

The type of member is an event.

M

The type of member is a method.