次の方法で共有


FileInfo.CopyTo Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

When it is called by trusted applications, copies an existing file to a new file.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 CopyTo(String) When it is called by trusted applications, copies an existing file to a new file, disallowing the overwriting of an existing file.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 CopyTo(String, Boolean) When it is called by trusted applications, copies an existing file to a new file, allowing the overwriting of an existing file.

Top

See Also

Reference