Click or drag to resize
IGDStorageFileCopyAndReplaceAsync Method
Replaces the specified file with a copy of the current file.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
IAsyncAction CopyAndReplaceAsync(
	IGDStorageFile fileToReplace
)

Parameters

fileToReplace
Type: GDIGDStorageFile
The file to replace.

Return Value

Type: IAsyncAction
No object or value is returned when this method completes.
Remarks
If you simply want to copy and replace a file in your app, see the CopyAndReplaceAsync method of the GDStorageFile class.
See Also