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

TrackEventCollection Methods

The methods of the TrackEventCollection class are listed below. For a complete list of TrackEventCollection class members, see the TrackEventCollection Members topic.

Public Instance Methods

Add Adds a TrackEvent to the TrackEventCollection.
Clear (inherited from CollectionBase)Removes all objects from the CollectionBase instance.
Contains Determines whether the TrackEventCollection contains a specific value.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from CollectionBase)Returns an enumerator that can iterate through the CollectionBase instance.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
IndexOf Determines the index of a specific TrackEvent in the TrackEventCollection.
Insert Inserts a TrackEvent into the TrackEventCollection at the specified position.
Remove Removes the first occurrence of a specific TrackEvent from the TrackEventCollection.
RemoveAt (inherited from CollectionBase)Removes the element at the specified index of the CollectionBase instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnClear (inherited from CollectionBase)Performs additional custom processes when clearing the contents of the CollectionBase instance.
OnClearComplete (inherited from CollectionBase)Performs additional custom processes after clearing the contents of the CollectionBase instance.
OnInsert Performs additional custom processes before inserting a new element into the TrackEventCollection instance.
OnInsertComplete (inherited from CollectionBase)Performs additional custom processes after inserting a new element into the CollectionBase instance.
OnRemove Performs additional custom processes when removing an element from the TrackEventCollection instance.
OnRemoveComplete (inherited from CollectionBase)Performs additional custom processes after removing an element from the CollectionBase instance.
OnSet Performs additional custom processes before setting a value in the TrackEventCollection instance.
OnSetComplete (inherited from CollectionBase) Performs additional custom processes after setting a value in the CollectionBase instance.
OnValidate Performs additional custom processes when validating a value.

Explicit Interface Implementations

ICollection.CopyTo (inherited from CollectionBase)
IList.Add (inherited from CollectionBase)
IList.Contains (inherited from CollectionBase)
IList.IndexOf (inherited from CollectionBase)
IList.Insert (inherited from CollectionBase)
IList.Remove (inherited from CollectionBase)

See Also

TrackEventCollection Class | EF.SimpleMIDI Namespace