AlphaTab.Model.Beat.GetNoteOnString C# (CSharp) 메소드

GetNoteOnString() 공개 메소드

public GetNoteOnString ( int @string ) : Note
@string int
리턴 Note
        public Note GetNoteOnString(int @string)
        {
            for (int i = 0, j = Notes.Count; i < j; i++)
            {
                var note = Notes[i];
                if (note.String == @string)
                {
                    return note;
                }
            }
            return null;
        }