SPFile.CopyTo method

Copies the file to the destination URL.

  Name Description
Public method CopyTo(String) Copies the file to the destination URL but does not overwrite an existing file of the same name.
Public method CopyTo(String, Boolean) Copies the file to the destination URL and optionally overwrites an existing file of the same name.
Top
Show: