_Application.CopyFile(String, String) Method

Definition

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

public:
 System::Object ^ CopyFile(System::String ^ FilePath, System::String ^ DestFolderPath);
public object CopyFile (string FilePath, string DestFolderPath);
Public Function CopyFile (FilePath As String, DestFolderPath As String) As Object

Parameters

FilePath
String

The path name of the object you want to copy.

DestFolderPath
String

The location you want to copy the file to.

Returns

An Object value that represents the copied file.

Applies to