OPC Studio User's Guide and Reference
FromInt32 Method (DAReadParameters)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAReadParameters Class : FromInt32 Method
Determines the age of value you would like to obtain (in milliseconds).
Converts a value age (integer, in milliseconds) to a DAReadParameters object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromInt32( _
   ByVal valueAge As Integer _
) As DAReadParameters
'Usage
 
Dim valueAge As Integer
Dim value As DAReadParameters
 
value = DAReadParameters.FromInt32(valueAge)
[NotNull()]
public static DAReadParameters FromInt32( 
   int valueAge
)
[NotNull()]
public:
static DAReadParameters^ FromInt32( 
   int valueAge
) 

Parameters

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

Return Value

Returns a DAReadParameters 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