QuickOPC User's Guide and Reference
ToInt64 Method (AEEventType)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventType Class : ToInt64 Method
An AEEventType object value to be converted.
Converts an AEEventType object to a numerical bit-coded value.
Syntax
'Declaration
 
Public Shared Function ToInt64( _
   ByVal eventType As AEEventType _
) As Long
'Usage
 
Dim eventType As AEEventType
Dim value As Long
 
value = AEEventType.ToInt64(eventType)
public static long ToInt64( 
   AEEventType eventType
)
public:
static int64 ToInt64( 
   AEEventType^ eventType
) 

Parameters

eventType
An AEEventType object value to be converted.

Return Value

Returns a bit-coded value converted from the input argument.
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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