Vocaluxe.Lib.Song.CLine.InsertNote C# (CSharp) Method

InsertNote() public method

public InsertNote ( CNote Note, int Index ) : bool
Note CNote
Index int
return bool
        public bool InsertNote(CNote Note, int Index)
        {
            if (_Notes.Count >= Index)
            {
                _Notes.Insert(Index, Note);
                updateMinMaxBeat(Note);
                return true;
            }
            return false;
        }