Determines whether a given event type filter value is valid in OPC Alarms&Events. You can choose whether empty event type filters are also allowed.
Syntax
'Declaration
<PureAttribute()>
Public Overloads Shared Function IsValidEventTypeFilter( _
ByVal As Long, _
ByVal As Boolean _
) As Boolean
'Usage
Dim eventTypeFilter As Long
Dim allowEmpty As Boolean
Dim value As Boolean
value = AEUtilities.IsValidEventTypeFilter(eventTypeFilter, allowEmpty)
[Pure()]
public static bool IsValidEventTypeFilter(
long ,
bool
)
[Pure()]
public:
static bool IsValidEventTypeFilter(
int64 ,
bool
)
Parameters
- eventTypeFilter
- The event type filter to be tested.
- allowEmpty
- Indicates that empty filter is valid for the test.
Return Value
true
if is a valid event type filter; false
otherwise.
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