QuickOPC User's Guide and Reference
IsValidEventTypeFilter(Int64) Method



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEUtilities Class > IsValidEventTypeFilter Method : IsValidEventTypeFilter(Int64) Method
The event type filter to be tested.
Determines whether a given event type filter value is valid in OPC Alarms&Events. Empty event type filters are not allowed.
Syntax
'Declaration
 
<PureAttribute()>
Public Overloads Shared Function IsValidEventTypeFilter( _
   ByVal eventTypeFilter As Long _
) As Boolean
'Usage
 
Dim eventTypeFilter As Long
Dim value As Boolean
 
value = AEUtilities.IsValidEventTypeFilter(eventTypeFilter)
[Pure()]
public static bool IsValidEventTypeFilter( 
   long eventTypeFilter
)
[Pure()]
public:
static bool IsValidEventTypeFilter( 
   int64 eventTypeFilter
) 

Parameters

eventTypeFilter
The event type filter to be tested.

Return Value

true if eventTypeFilter is a valid event type filter; false otherwise.
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