ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / Extensions Class / DeleteFilesAsync Method
If true - all exceptions will be swallowed. Otherwise - they will be rethrown.

In This Topic
    DeleteFilesAsync Method
    In This Topic
    Deletes all files from the given folder.
    Syntax
    'Declaration
     
    Public Shared Function DeleteFilesAsync( _
       ByVal folder As Windows.Storage.StorageFolder, _
       Optional ByVal ignoreExceptions As System.Boolean _
    ) As System.Threading.Tasks.Task
    public static System.Threading.Tasks.Task DeleteFilesAsync( 
       Windows.Storage.StorageFolder folder,
       System.bool ignoreExceptions
    )

    Parameters

    folder
    ignoreExceptions
    If true - all exceptions will be swallowed. Otherwise - they will be rethrown.
    See Also