Partager via


SPFile.CopyTo Method

Include Protected Members
Include Inherited Members

Copies the file to the destination URL.

Overload List

  Name Description
CopyTo(String) Copies the file to the destination URL but does not overwrite an existing file of the same name.
CopyTo(String, Boolean) Copies the file to the destination URL but overwrites an existing file of the same name only if bOverwrite is true.

Top

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace