EventInfo.CustomData
 
 
 

EventInfo.CustomData

Description

Returns a Variant containing the custom data of an event. The data is passed to the event handler every time an event is fired and can hold any Variant data type.

C# Syntax

// get accessor
Object rtn = EventInfo.CustomData;

Examples

VBScript Example

on error resume next
Application.Advise "OnBeginSceneSave","C:\MyEventHandler.vbs",,,"ABCSaveSceneEvent"
set info = Application.EventInfos("ABCSaveSceneEvent")
LogMessage "CustomData: " & info.CustomData