CommandTransport.DeleteFile Method (Compact 7)

3/12/2014

Deletes a file on the device.

Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)

Syntax

public bool DeleteFile (
    string deviceFile
)
'Declaration
Public Function DeleteFile ( _
    deviceFile As String _
) As Boolean

Parameters

  • deviceFile
    Full name of file on device

Return Value

TRUE if the file was successfully deleted, FALSE if not.

Remarks

If the filename is invalid, locked, or does not exist, this method will fail.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

CommandTransport Class
CommandTransport Members
Microsoft.RemoteToolSdk.PluginComponents Namespace