IEventLogger Property: BinaryData

Property Name
BinaryData

Property Type
Byte Array

Description
Sets the binary data or raw data, which is logged along with the event. This data is specific to the event.

Example

Dim EventLog As IEventLogger
Dim BinData(2) As Byte
'Get the interface. 'DirectScript.EventLogger.1'is the ProgId of 'the Event Logger component.
Set EventLog = CreateObject ("DirectScript.EventLogger.1")
BinData(0) = 0
BinData(1) = 1
'Set BinaryData property
EventLog.BinaryData = BinData

 

See Also: