'Declaration
Public ReadOnly Property Time As Date
'Usage
Dim instance As UABaseEventObject Dim value As Date instance.Time = value value = instance.Time
public DateTime Time {get;}
'Declaration
Public ReadOnly Property Time As Date
'Usage
Dim instance As UABaseEventObject Dim value As Date instance.Time = value value = instance.Time
public DateTime Time {get;}
If you are using VBA in Excel, beware that it reduces the precision of date/times from OLE Automation to seconds. In order to achieve milliseconds precision from VBA in Excel, use the TimeDouble property instead.