Click or drag to resize
GDStorageFileMoveAndReplaceAsync Method
Moves the current file to the location of the specified file and replaces the specified file in that location.

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

Parameters

fileToReplace
Type: GDIGDStorageFile
The file to replace.

Return Value

Type: IAsyncAction
No object or value is returned by this method.

Implements

IGDStorageFileMoveAndReplaceAsync(IGDStorageFile)
Exceptions
ExceptionCondition
Exception(C# equivalent: System.InvalidOperationException) Cannot replace file on which this method is called. (E_ILLEGAL_METHOD_CALL)
See Also