TraceTreeObject object

The TraceTreeObject object provides information about a tree model node identified as an occurrence of an object. To access the extra properties of the TraceTreeObject object, you assign a TraceTreeNode object whose activity type is ActObjectCreate! or ActObjectDestroy! to the TraceTreeObject object.

The TraceTreeObject object has no events.

Properties

TraceTreeObject property

Datatype

Description

ActivityType

TraceActivity (enumerated)

The value ActObjectCreate! or ActObjectDestroy! which identifies the activity represented by the node as object creation or destruction.

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

ClassName

String

The name of the class that is the object type.

EnterTimerValue

Decimal

The timer value (in seconds) when the activity began.

ExitTimerValue

Decimal

The timer value (in seconds) when the activity ended.

IsCreate

Boolean

True if the node represents the creation of an object and false if it represents the destruction of an object.

ObjectID

UnsignedLong

The internal identifier for the object.

ParentNode

TraceTreeNode

The parent of this node.


Functions

TraceTreeObject function

Datatype returned

Description

ClassName in PowerScript Reference

String

Returns the name assigned to the object.

GetChildrenList in PowerScript Reference

ErrorReturn (enumerated)

Provides a list of the children (defined as TraceTreeNode objects) of this object.

GetContextService in PowerScript Reference

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent in PowerScript Reference

PowerObject

Returns a reference to the name of the parent object.

TypeOf in PowerScript Reference

Object (enumerated)

Returns the type of the object.