Click or drag to resize

DirectoryInfoMoveTo Method

Moves the specified directory and contents to the destination location.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public void MoveTo(
	string destDirName
)

Parameters

destDirName  String
Destination to move the source folder to.
Exceptions
ExceptionCondition
InvalidDirectoryLocationExceptionThe destination directory is invalid.
DirectoryNotFoundExceptionThe destination or current directory do not exist.
IOExceptionFile System error.
SecurityExceptionThe user does not have the require access to the destination or current directory.
ArgumentExceptionThe destination directory contains invalid characters.
ArgumentNullExceptionThe destination directory is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also