_Application.CopyFile Method

Copies a file from a specified location into a Microsoft Outlook store.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

[DispIdAttribute()]
Object CopyFile(
	string FilePath,
	string DestFolderPath
)

Parameters

FilePath
Type: System.String

The path name of the object you want to copy.

DestFolderPath
Type: System.String

The location you want to copy the file to.

Return Value

Type: System.Object
An Object value that represents the copied file.
Show: