Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Exchange
Service Class
Service Methods
EmptyFolder Method
EmptyFolder Method (FolderId)
EmptyFolder Method (IList(FolderId))
EmptyFolder Method (StandardFolder)
EmptyFolder Method (FolderId, DeleteType)
EmptyFolder Method (FolderId, Boolean)
EmptyFolder Method (IList(FolderId), DeleteType)
EmptyFolder Method (IList(FolderId), Boolean)
EmptyFolder Method (StandardFolder, DeleteType)
EmptyFolder Method (StandardFolder, Boolean)
EmptyFolder Method (FolderId, DeleteType, Boolean)
EmptyFolder Method (IList(FolderId), DeleteType, Boolean)
EmptyFolder Method (StandardFolder, DeleteType, Boolean)

# Service EmptyFolder Method (StandardFolder, Boolean)

Empties a folder.

Namespace: Independentsoft.Exchange
Assembly: Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
C#
VB
Copy

    public FolderInfoResponse EmptyFolder(
    	StandardFolder standardFolder,
    	bool deleteSubFolders
    )

    Public Function EmptyFolder (
    	standardFolder As StandardFolder,
    	deleteSubFolders As Boolean
    ) As FolderInfoResponse

#### Parameters

standardFolder
  Type: Independentsoft.Exchange
  StandardFolder
  The ID of the folder to empty.
deleteSubFolders
  Type: System
  Boolean
  If true delete the subfolders of the specified folder.

#### Return Value

Type: FolderInfoResponse
FolderInfoResponse.
See Also

#### Reference

Service Class
EmptyFolder Overload
Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de