OPC Studio User's Guide and Reference
FromDouble Method (UAReadParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAReadParameters Class : FromDouble Method
Determines the age of value you would like to obtain (in milliseconds).
Converts a value age (in milliseconds) to a UAReadParameters object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromDouble( _
   ByVal maximumAge As Double _
) As UAReadParameters
'Usage
 
Dim maximumAge As Double
Dim value As UAReadParameters
 
value = UAReadParameters.FromDouble(maximumAge)
[NotNull()]
public static UAReadParameters FromDouble( 
   double maximumAge
)
[NotNull()]
public:
static UAReadParameters^ FromDouble( 
   double maximumAge
) 

Parameters

maximumAge
Determines the age of value you would like to obtain (in milliseconds).

Return Value

Returns a UAReadParameters object converted from the input argument.

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

Remarks

In languages that support implicit conversions (such as C# or VB.NET), in many cases you do not have call this method explicitly. When indicated, a call to an available equivalent implicit conversion operator will be created by the compiler automatically.

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