QuickOPC User's Guide and Reference
TimeDouble Property (AEEventData)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventData Class : TimeDouble Property
Time of the event occurrence - for conditions, time that the condition transitioned into the new state or sub- condition. In UTC, as double-precision floating-point number that contains an OLE Automation date.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<IgnoreDataMemberAttribute()>
<XmlIgnoreAttribute()>
Public Property TimeDouble As Double
'Usage
 
Dim instance As AEEventData
Dim value As Double
 
instance.TimeDouble = value
 
value = instance.TimeDouble
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public double TimeDouble {get; set;}
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[IgnoreDataMember()]
[XmlIgnore()]
public:
property double TimeDouble {
   double get();
   void set (    double value);
}
Remarks

This property is primarily aimed at VBA in Excel, which removes the sub-seconds parts of VT_DATE values. This alternative property uses VT_R8 variant type instead, and provides a milliseconds resolution.

For more remarks, see Time.

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