Click or drag to resize

GlobalDirectoryCopy method

Copies a directory including all the files it contains. If the "copySubDirs" parameter is set to true, all subdirectories contained in the directory are also copied recursively.

Namespace: NetEti.Globals
Assembly: NetEti.Global (in NetEti.Global.dll) Version: 1.0.0+ad672dc5430e1683eae7461ce3945c8e9dce1c49
Syntax
public static void DirectoryCopy(
	
	string sourceDir,
	
	string destDir,
	
	bool copySubDirs
)

Parameters

sourceDir  String
The directory to be copied.
destDir  String
The target path.
copySubDirs  Boolean
If true, subdirectories are also copied recursively.
Exceptions
ExceptionCondition
DirectoryNotFoundExceptionPossible DirectoryNotFoundException.
See also