QuickOPC User's Guide and Reference
FromInt32 Method (DAReadParameters)



OpcLabs.EasyOpcClassic 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.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

DAReadParameters Class
DAReadParameters Members
DataSource Property
ValueAge Property