Click or drag to resize
FileMove Method
Moves a specified file to a new location, providing the option to specify a new file name.

Namespace: CMS.AzureStorage
Assembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 12.0.0
Syntax
C#
public override void Move(
	string sourceFileName,
	string destFileName
)

Parameters

sourceFileName
Type: SystemString
Source file name.
destFileName
Type: SystemString
Destination file name.
Exceptions
ExceptionCondition
ArgumentNullExceptionsourceFileName or destFileName is null
ArgumentExceptionsourceFileName or destFileName is empty or contains invalid characters
PathTooLongExceptionsourceFileName or destFileName is too long
FileNotFoundExceptionsourceFileName does not exist
IOExceptionBoth sourceFileName and destFileName lead to the same file
See Also