QuickOPC User's Guide and Reference
ValueAge Property (_DAReadParameters)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.ComTypes Namespace > _DAReadParameters Interface : ValueAge Property
Determines the age of value you would like to obtain (in milliseconds).
Syntax
'Declaration
 
Property ValueAge As Integer
'Usage
 
Dim instance As _DAReadParameters
Dim value As Integer
 
instance.ValueAge = value
 
value = instance.ValueAge
int ValueAge {get; set;}
property int ValueAge {
   int get();
   void set (    int value);
}
Remarks

This value is significant only when the DataSource property is set to ByValueAge.

The value must be greater than or equal to zero, or it must be equal to System.Threading.Timeout.Infinite.

When the value is System.Threading.Timeout.Infinite, the value will always be provided from the memory, i.e. without actually accessing the OPC server.

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 Interface
_DAReadParameters Members
DADataSource Enumeration
DataSource Property