MidiTimeCodeMessage.Timestamp | timestamp property

[This documentation is preliminary and is subject to change.]

Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort, this value has no meaning.

Important  

The WindowsPreview.Devices.Midi API are preview API and are not included in the Windows Software Development Kit (SDK). The API are distributed as a NuGet package. See WindowsPreview.Devices.Midi for info on how to download and install the NuGet package in your project.

WindowsPreview.Devices.Midi API require Windows 8.1 Update and later.

Syntax

var timestamp = midiTimeCodeMessage.timestamp;
public TimeSpan Timestamp { get; }
Public ReadOnly Property Timestamp As TimeSpan
public:
property TimeSpan Timestamp { 
   TimeSpan get();
}

Property value

Type: Number [JavaScript] | System.TimeSpan [.NET] | Windows::Foundation::TimeSpan [C++]

The duration from when the MidiInPort was created to the time the message was received.

Remarks

For messages being sent to a MidiOutPort, this value has no meaning.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Namespace

WindowsPreview.Devices.Midi WindowsPreview::Devices::Midi [C++]

Metadata

WindowsPreview.winmd

See also

MidiTimeCodeMessage