public static Move ( string p_strFrom, string p_strTo, bool p_booOverwrite ) : void | ||
p_strFrom | string | The path to the file to move. |
p_strTo | string | the path to which to move the file. |
p_booOverwrite | bool | Whether to overwrite any file found at the destination. |
return | void |
public static void Move(string p_strFrom, string p_strTo, bool p_booOverwrite)
{
if (p_booOverwrite)
ForceDelete(p_strTo);
File.Move(p_strFrom, p_strTo);
}