OPC Studio User's Guide and Reference
Implicit Type Conversion Operator (UAMonitoringParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAMonitoringParameters Class : Implicit Type Conversion Operator
The sampling interval (in milliseconds) indicates the fastest rate at which the Server should sample its underlying source for data changes.

Valid values of this parameter are in the range from -1 to 2147483647 (Int32.MaxValue).

Converts a sampling interval to monitoring parameters object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Operator Widening CType( _
   ByVal samplingInterval As Integer _
) As UAMonitoringParameters
'Usage
 
[NotNull()]
public UAMonitoringParameters operator implicit( 
   int samplingInterval
)
[NotNull()]
public:
operator UAMonitoringParameters^ ( 
   int samplingInterval
)

Parameters

samplingInterval
The sampling interval (in milliseconds) indicates the fastest rate at which the Server should sample its underlying source for data changes.

Valid values of this parameter are in the range from -1 to 2147483647 (Int32.MaxValue).

Return Value

Returns the monitoring parameters object with the specified sampling interval.

This method never returns null (Nothing in Visual Basic).

Remarks

This operator is equivalent to FromInt32.

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