A class library for opening, parsing, and saving MIDI files.

TrackEventCollection.OnSet Method 

Performs additional custom processes before setting a value in the TrackEventCollection instance.

protected override void OnSet(
   int index,
   object oldValue,
   object newValue
);

Parameters

index
The zero-based index at which oldValue can be found.
oldValue
The value to replace with newValue.
newValue
The new value of the element at index.

See Also

TrackEventCollection Class | EF.SimpleMIDI Namespace