Determines whether a given category Id value is valid in OPC Alarms&Events.
'Declaration
<PureAttribute()>
Public Shared Function IsValidCategoryId( _
ByVal As Long _
) As Boolean
'Usage
Dim categoryId As Long
Dim value As Boolean
value = AEUtilities.IsValidCategoryId(categoryId)
[Pure()]
public static bool IsValidCategoryId(
long
)
[Pure()]
public:
static bool IsValidCategoryId(
int64
)
Parameters
- categoryId
- The category Id to be tested.
Return Value
true
if is a valid category Id; false
otherwise.
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