Click or drag to resize

NoteGetNextID Method

Gets the next note ID in sequence after the specified note ID.

Namespace: GSF.Media.Music
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.181-beta
Syntax
public static string GetNextID(
	string noteID,
	bool includeSharps
)
View Source

Parameters

noteID  String
ID of the current note - expected format is "Note + Octave + S?" (e.g., A2 or C5S)
includeSharps  Boolean
Set to True to include sharp notes in the sequence.

Return Value

String
The next note ID that is after the specified note ID.
Exceptions
ExceptionCondition
ArgumentNullExceptionnoteID is null.
ArgumentExceptionInvalid note ID format - expected "Note + Octave + S?" (e.g., A2 or C5S).
See Also