MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
ConvertLibrary Class
NamespacesMPfm.LibraryConvertLibrary
This static class converts objects from different libraries into DataTables and back into objects.
Declaration Syntax
C#Visual Basic
public static class ConvertLibrary
Public NotInheritable Class ConvertLibrary
Members
All MembersMethods



IconMemberDescription
AssignRowValue(DataRow%, String, Object)
Sets the value of a field in a DataRow.

AudioFiles(DataTable)
Converts a DataTable to a list of AudioFiles. Note: Not all the metadata will be present because not all fields are saved in the database. You need to call RefreshMetadata to refresh the metadata from the file.

EQPresets(DataTable)
Converts a DataTable to a list of EQPresets.

Folders(DataTable)
Converts a DataTable to a list of Folders.

Loops(DataTable)
Converts a DataTable to a list of Loops.

Markers(DataTable)
Converts a DataTable to a list of Markers.

PlaylistFiles(DataTable)
Converts a DataTable to a list of PlaylistFiles.

Settings(DataTable)
Converts a DataTable to a list of Settings.

ToAudioFileRow(DataRow%, AudioFile)
Sets the values of a DataRow in a AudioFile DataTable.

ToEQPresetRow(DataRow%, EQPreset)
Sets the values of a DataRow in a EQPreset DataTable.

ToFolderRow(DataRow%, Folder)
Sets the values of a DataRow in a Folder DataTable.

ToLoopRow(DataRow%, Loop)
Sets the values of a DataRow in a Loop DataTable.

ToMarkerRow(DataRow%, Marker)
Sets the values of a DataRow in a Marker DataTable.

ToPlaylistFileRow(DataRow%, PlaylistFile)
Sets the values of a DataRow in a PlaylistFile DataTable.

ToRow(DataRow%, Object)
Sets the values from a DTO into a DataRow.

ToSettingRow(DataRow%, Setting)
Sets the values of a DataRow in a Settings DataTable.

Inheritance Hierarchy
Object
ConvertLibrary

Assembly: MPfm.Library (Module: MPfm.Library) Version: 0.5.3.0 (0.5.3.0)