QuickOPC User's Guide and Reference
IsValidAttributeId Method



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEUtilities Class : IsValidAttributeId Method
The attribute Id to be tested.
Determines whether a given attribute Id value is valid in OPC Alarms&Events.
Syntax
'Declaration
 
<PureAttribute()>
Public Shared Function IsValidAttributeId( _
   ByVal attributeId As Long _
) As Boolean
'Usage
 
Dim attributeId As Long
Dim value As Boolean
 
value = AEUtilities.IsValidAttributeId(attributeId)
[Pure()]
public static bool IsValidAttributeId( 
   long attributeId
)
[Pure()]
public:
static bool IsValidAttributeId( 
   int64 attributeId
) 

Parameters

attributeId
The attribute Id to be tested.

Return Value

true if attributeId is a valid attribute Id; 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