CommandTransport.DeleteDirectory Method (Compact 7)

3/12/2014

Deletes a directory on the device.

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

Syntax

public bool DeleteDirectory (
    string deviceDirectory
)
'Declaration
Public Function DeleteDirectory ( _
    deviceDirectory As String _
) As Boolean

Parameters

  • deviceDirectory
    Name of directory on device

Return Value

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

Remarks

If the directory is not empty, this method will fail.

If the directory is invalid or not found, 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