| 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
)
public:
virtual IAsyncAction^ MoveAndReplaceAsync(
[InAttribute] IGDStorageFile^ fileToReplace
) sealed
function MoveAndReplaceAsync(fileToReplace);
Parameters
- fileToReplace
- Type: GDIGDStorageFile
The file to replace.
Return Value
Type:
IAsyncActionNo object or value is returned by this method.
Implements
IGDStorageFileMoveAndReplaceAsync(IGDStorageFile)Exceptions Exception | Condition |
---|
Exception | (C# equivalent: System.InvalidOperationException) Cannot replace file on which this method is called. (E_ILLEGAL_METHOD_CALL) |
See Also