Export (0) Print
Expand All

SPFile.MoveTo Method

Moves the file to the specified destination URL.

  NameDescription
Public method MoveTo(String) Moves the file to the destination URL but does not overwrite an existing file of the same name.
Public method MoveTo(String, SPMoveOperations) Moves the file to the specified destination URL based on the type of operation that is specified.
Public method MoveTo(String, Boolean) Moves the file to the destination URL and optionally overwrites an existing file of the same name.
Public method MoveTo(String, SPMoveOperations, Boolean) Moves the file to the specified destination URL.
Top

Community Additions

ADD
Show:
© 2014 Microsoft