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

# Service CopyFolder Method (FolderId, FolderId)

Copies a folder.

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

    public FolderId CopyFolder(
    	FolderId folderId,
    	FolderId targetFolderId
    )

    Public Function CopyFolder (
    	folderId As FolderId,
    	targetFolderId As FolderId
    ) As FolderId

#### Parameters

folderId
  Type: Independentsoft.Exchange
  FolderId
  The ID of the folder to copy.
targetFolderId
  Type: Independentsoft.Exchange
  FolderId
  The ID of the folder to copy the items to.

#### Return Value

Type: FolderId
The ID of the new folder.
See Also

#### Reference

Service Class
CopyFolder Overload
Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de