Otter SDK Reference
Version:

DeleteDirectoryAsync(IFileOperationsExecuter agent, string dirName) Method

Deletes the specified directory if it exists.

Syntax

public static System.Threading.Tasks.Task DeleteDirectoryAsync(IFileOperationsExecuter agent, string dirName)

Parameters

agent
Type: IFileOperationsExecuter

The agent.

dirName
Type: string

The full path of the directory.