ObjectItem

Description

Returns the entity object associated with the current selection. This is a read-only property; it can be viewed but not set.
Note: This method is for COM only. It is not available for Perl.

The Entity object contained in this property may not be the same object that invoked the current hook. This property is set only when the EventType property contains the value CONTEXMENU_ITEM_SELECTION or BUTTON_CLICK.

Syntax

VBScript


eventObject.ObjectItem 
Identifier
Description
eventObject
An instance of EventObject.
Return value
The Entity object associated with the current selection.