getExtendedInfo
This method returns the Extended Information string (if specified) associated with an event.
HRESULT getExtendedInfo([in] long item, [out,retval] BSTR* message);
Parameters
item
[in] index of the event item in the list view control.
message
[out, retval] A pointer to variable that receives the extended information associated with the event.
Return Values
S_OK Function was successfully called S_FALSE Function was successfully called but no extended information was found for the specified event E_POINTER pSelEvent was no valid pointer |
Visual Basic sample code
Option Explicit
' add the Beckhoff TcEvent View Library to the components
' place a TcEventView on the form, and assign the name TcEventView1
String extInfo = TcEventView1.getExtendedInfo(0)