FileInformation.CopyAsync | copyAsync methods

Applies to Windows only

Creates a copy of the StorageFile.

Overload list

MethodDescription
CopyAsync(IStorageFolder) Creates a copy of the StorageFile and stores it in the specified StorageFolder.
CopyAsync(IStorageFolder, String) Creates a copy of the StorageFile, gives it the specified file name, and stores it in the specified StorageFolder.
CopyAsync(IStorageFolder, String, NameCollisionOption) Creates a copy of the StorageFile, gives it the specified file name, and stores it in the specified StorageFolder. The method also specifies what to do if a file with the same name already exists in the specified folder.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Storage.BulkAccess
Windows::Storage::BulkAccess [C++]

Metadata

Windows.winmd

See also

FileInformation

 

 

Show:
© 2014 Microsoft