Version: 
        
      
      
      
      ClearDirectory(IFileOperationsExecuter agent, string path) Method
  
            Deletes all files and subfolders in a folder (but not the folder itself).
            
 
  Syntax
  
    public
    static
    void ClearDirectory(IFileOperationsExecuter agent, string path)
  Parameters
  
    - agent
- Type: IFileOperationsExecuter
 The agent. 
    - path
- Type: string
 The path of the folder to empty.