QuickOPC User's Guide and Reference
IsValidTypeValue Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComInterop Namespace > VarType Class : IsValidTypeValue Method
The type value to be tested.
Determines whether the type value is in the valid range.
Syntax
'Declaration
 
<PureAttribute()>
Public Shared Function IsValidTypeValue( _
   ByVal numericalValue As Integer _
) As Boolean
'Usage
 
Dim numericalValue As Integer
Dim value As Boolean
 
value = VarType.IsValidTypeValue(numericalValue)
[Pure()]
public static bool IsValidTypeValue( 
   int numericalValue
)
[Pure()]
public:
static bool IsValidTypeValue( 
   int numericalValue
) 

Parameters

numericalValue
The type value to be tested.

Return Value

True if the type value is in the valid range; 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