Determines whether a given cookie value is valid in OPC Alarms&Events.
Syntax
'Declaration
<JetBrains.Annotations.MustUseReturnValueAttribute()>
<JetBrains.Annotations.PureAttribute()>
Public Shared Function IsValidCookie( _
ByVal As Long _
) As Boolean
'Usage
Dim cookie As Long
Dim value As Boolean
value = AEUtilities.IsValidCookie(cookie)
[JetBrains.Annotations.MustUseReturnValue()]
[JetBrains.Annotations.Pure()]
public static bool IsValidCookie(
long
)
[JetBrains.Annotations.MustUseReturnValue()]
[JetBrains.Annotations.Pure()]
public:
static bool IsValidCookie(
int64
)
Parameters
- cookie
- The cookie to be tested.
Return Value
true
if is a valid cookie;
false
otherwise.
This return value of this method should not be ignored.
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