|
NoteGetNextID Method
|
Gets the next note ID in sequence after the specified note ID.
Namespace: GSF.Media.MusicAssembly: GSF.Media (in GSF.Media.dll) Version: 2.4.246-beta
Syntaxpublic static string GetNextID(
string noteID,
bool includeSharps
)
Public Shared Function GetNextID (
noteID As String,
includeSharps As Boolean
) As String
public:
static String^ GetNextID(
String^ noteID,
bool includeSharps
)
static member GetNextID :
noteID : string *
includeSharps : bool -> string
GSF.Media.Music.Note.GetNextID = function(noteID, includeSharps);
View SourceParameters
- 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
StringThe next note ID that is after the specified note ID.
ExceptionsException | Condition |
---|
ArgumentNullException | noteID is null. |
ArgumentException | Invalid note ID format - expected "Note + Octave + S?" (e.g., A2 or C5S). |
See Also