Difference between revisions of "ISDBDevice::DeleteFiles"

From MediaMonkey Wiki
Jump to: navigation, search
(Created page with "{{MethodDeclaration|SDBDevice|ISDBDevice|Sub CopyFiles(DeviceHandle As Long, Files As SDBStringList)}} ===Parameters=== {{MethodParameters |DeviceHandle |Long |Handle of ...")
Line 10: Line 10:
Deletes file(s) from device.
Deletes file(s) from device.

Latest revision as of 12:55, 31 March 2014

CoClass SDBDevice, Interface ISDBDevice

Sub CopyFiles(DeviceHandle As Long, Files As SDBStringList)


Name Type Description
DeviceHandle Long Handle of the device
Files String Destination file paths on the device

Method description

Deletes file(s) from device.

Introduced in MediaMonkey version 4.1.1.


    Dim Files
    Set Files = SDB.NewStringList 
    Files.Add "/Temp/MyFile.wmv"
    SDB.Device.DeleteFiles DeviceHandle, Files

To see how to handle copy result see example in CopyFile() method