ISDBPlaylist::Delete: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(added note about root playlist) |
||
Line 3: | Line 3: | ||
===Method description=== | ===Method description=== | ||
Completely removes this playlist and its subplaylists from the Library. Be careful with this operation, there's no further confirmation and all | Completely removes this playlist and its subplaylists recursively from the Library. Be careful with this operation, there's no further confirmation and action cannot be reversed. | ||
'''WARNING:''' Methods [[ISDBApplication::PlaylistByID|SDB.PlaylistByID]] and [[ISDBApplication::PlaylistByTitle|SDB.PlaylistByTitle]] return (virtual) root playlist node if no playlist with specified ''ID'' or ''Title'' exists. Be aware of this fact when deleting a playlist. Making an error could remove the root, and so all playlists. | |||
[[Category:Scripting|{{PAGENAME}}]] | [[Category:Scripting|{{PAGENAME}}]] |
Latest revision as of 20:06, 20 April 2013
CoClass SDBPlaylist, Interface ISDBPlaylist
Sub Delete
Method description
Completely removes this playlist and its subplaylists recursively from the Library. Be careful with this operation, there's no further confirmation and action cannot be reversed.
WARNING: Methods SDB.PlaylistByID and SDB.PlaylistByTitle return (virtual) root playlist node if no playlist with specified ID or Title exists. Be aware of this fact when deleting a playlist. Making an error could remove the root, and so all playlists.