S3DirectoryInfo.Delete Method (bool)

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Deletes all the files in this directory as well as this directory. If recursive is set to true then all sub directories will be deleted as well.

Namespace: Amazon.S3.IO
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public void Delete(
         Boolean recursive
)

Parameters

recursive
Type: System.Boolean

If true then sub directories will be deleted as well.

Exceptions

Exception Condition
System.Net.WebException
Amazon.S3.AmazonS3Exception
Amazon.S3.Model.DeleteObjectsException

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5