Compartilhar via


SPFile.CopyTo Method

Include Protected Members
Include Inherited Members

Copies the file to the destination URL.

Overload List

  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

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace