.NET Framework Class Library
File.CopyFileToDir Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > File Class > File Methods >

.NET Framework Class Library
File.CopyFileToDir Method

Copy a file into a given directory

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub CopyFileToDir ( _

fullFileName As String, _
destinationDir As String _
)

C#

public void CopyFileToDir(

string fullFileName,
string destinationDir
)

Visual C++

public:

void CopyFileToDir(
String^ fullFileName,
String^ destinationDir
)

JavaScript

function copyFileToDir(fullFileName, destinationDir);

Parameters

fullFileName

Type: System.String
full path file name to be copied

destinationDir

Type: System.String
name of an existing directory (destination)

Remarks

See Also

File Class

File Members

MwPDMApi Namespace