Class MarkerEvent
Represents a Marker meta event.
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class MarkerEvent : BaseTextEvent
Remarks
The MIDI marker meta message marks a point in time for a MIDI sequence.
Constructors
MarkerEvent()
Initializes a new instance of the MarkerEvent.
Declaration
public MarkerEvent()
MarkerEvent(string)
Initializes a new instance of the MarkerEvent with the
specified text of marker.
Declaration
public MarkerEvent(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text of the marker. |
Methods
CloneEvent()
Clones event by creating a copy of it.
Declaration
protected override MidiEvent CloneEvent()
Returns
| Type | Description |
|---|---|
| MidiEvent | Copy of the event. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |