Visual Basic (Usage) | ![]() |
---|---|
Dim value As Variant Dim statusCode As StatusCode Dim sourceTimestamp As Date Dim serverTimestamp As Date Dim instance As New DataValue(value, statusCode, sourceTimestamp, serverTimestamp) |
C# | |
---|---|
public DataValue( Variant value, StatusCode statusCode, DateTime sourceTimestamp, DateTime serverTimestamp ) |
Parameters
- value
- The variant value to set
- statusCode
- The status code to set
- sourceTimestamp
- The source timestamp to set
- serverTimestamp
- The servers timestamp to set
Initializes the object with a value, a status code, a source timestamp and a server timestamp
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x