OPC Studio User's Guide and Reference
IsValidValueAge Method



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAUtilities Class : IsValidValueAge Method
The value age to be tested.
Determines whether a given value age is valid in OPC Data Access.
Syntax
'Declaration
 
<PureAttribute()>
Public Shared Function IsValidValueAge( _
   ByVal valueAge As Integer _
) As Boolean
'Usage
 
Dim valueAge As Integer
Dim value As Boolean
 
value = DAUtilities.IsValidValueAge(valueAge)
[Pure()]
public static bool IsValidValueAge( 
   int valueAge
)
[Pure()]
public:
static bool IsValidValueAge( 
   int valueAge
) 

Parameters

valueAge
The value age to be tested.

Return Value

true if valueAge is a valid value age; false otherwise.
Remarks

This method is pure, i.e. it does not have observable side effects.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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