SPFile.MoveTo method
SharePoint 2013
Moves the file to the specified destination URL.
| Name | Description | |
|---|---|---|
|
MoveTo(String) | Moves the file to the destination URL but does not overwrite an existing file of the same name. |
|
MoveTo(String, SPMoveOperations) | Moves the file to the specified destination URL based on the type of operation that is specified. |
|
MoveTo(String, Boolean) | Moves the file to the destination URL and optionally overwrites an existing file of the same name. |
|
MoveTo(String, SPMoveOperations, Boolean) | Moves the file to the specified destination URL. |