OPC Studio User's Guide and Reference
IsValidUpdateRate Method



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

Parameters

updateRate
The update rate value to be tested.

Return Value

true if updateRate is a valid update rate; false otherwise.
Remarks

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

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