IsPrototype Method

Object List Next Object

Defined By:
ObjectTools

Description:

Tests whether or not an object is a Prototype.

Declaration:

Function IsPrototype(ByVal obj As Object) As Long

Details:

Returns True if obj is a prototype, and False if it is a clone. Generally, an object becomes a prototype when a property or method is added to it that distinguishes the object from its source object (the object from which it was originally copied). New root objects, i.e. those made by calling
CopyObject with Nothing as the pattern, are also prototypes, even before any properties or methods are added to them.

See Also:

CopyObject