OPC Studio User's Guide and Reference
Implicit Type Conversion Operator (AEEventDataPayload)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComplexEventProcessing Namespace > AEEventDataPayload Class : Implicit Type Conversion Operator
Event data.

The value of this parameter can be null (Nothing in Visual Basic).

Converts an for OPC Alarms&Events event object to an event payload.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Operator Widening CType( _
   ByVal eventData As AEEventData _
) As AEEventDataPayload
'Usage
 
[CanBeNull()]
public AEEventDataPayload operator implicit( 
   AEEventData eventData
)
[CanBeNull()]
public:
operator AEEventDataPayload^ ( 
   AEEventData^ eventData
)

Parameters

eventData
Event data.

The value of this parameter can be null (Nothing in Visual Basic).

Return Value

Returns an event payload containing the data from the event object.

This method can return null (Nothing in Visual Basic).

Remarks

This operator is equivalent to FromAEEvent.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also