PicoOPC User's Guide and Reference
DataValue Constructor



OpcLabs.PicoOpc Assembly > OpcLabs.PicoOpc.UA Namespace > DataValue Structure : DataValue Constructor
The value.
The status code that defines the server's ability to access/provide the value.
The source timestamp for the value.
The server timestamp for the value.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   Optional ByVal variant As Variant, _
   Optional ByVal statusCode As UInteger, _
   Optional ByVal sourceTimestamp As Long, _
   Optional ByVal serverTimestamp As Long _
)
'Usage
 
Dim variant As Variant
Dim statusCode As UInteger
Dim sourceTimestamp As Long
Dim serverTimestamp As Long
 
Dim instance As New DataValue(variant, statusCode, sourceTimestamp, serverTimestamp)

Parameters

variant
The value.
statusCode
The status code that defines the server's ability to access/provide the value.
sourceTimestamp
The source timestamp for the value.
serverTimestamp
The server timestamp for the value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataValue Structure
DataValue Members