OPC Studio User's Guide and Reference
IsValidPercentDeadband Method



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAUtilities Class : IsValidPercentDeadband Method
The percent deadband value to be tested.
Determines whether a given percent deadband value is valid in OPC Data Access.
Syntax
'Declaration
 
<PureAttribute()>
Public Shared Function IsValidPercentDeadband( _
   ByVal percentDeadband As Single _
) As Boolean
'Usage
 
Dim percentDeadband As Single
Dim value As Boolean
 
value = DAUtilities.IsValidPercentDeadband(percentDeadband)
[Pure()]
public static bool IsValidPercentDeadband( 
   float percentDeadband
)
[Pure()]
public:
static bool IsValidPercentDeadband( 
   float percentDeadband
) 

Parameters

percentDeadband
The percent deadband value to be tested.

Return Value

true if percentDeadband is a valid percent deadband value; false otherwise.
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

This method is pure, i.e. it does not have observable side effects.

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