Otter SDK Reference
Version:

Clear(string path) Method

Deletes all files and directories contained within the specified path, but does not delete the containing directory itself.

Syntax

public static void Clear(string path)

Parameters

path
Type: string

The directory to clear.

Exceptions

System.ArgumentNullException

path is null (Nothing in Visual Basic) or empty.