StorageFile.MoveAndReplaceAsync(IStorageFile) Methode

Definition

Verschiebt die aktuelle Datei an den Speicherort der angegebenen Datei und ersetzt die angegebene Datei an diesem Speicherort.

public:
 virtual IAsyncAction ^ MoveAndReplaceAsync(IStorageFile ^ fileToReplace) = MoveAndReplaceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction MoveAndReplaceAsync(IStorageFile const& fileToReplace);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction MoveAndReplaceAsync(IStorageFile fileToReplace);
function moveAndReplaceAsync(fileToReplace)
Public Function MoveAndReplaceAsync (fileToReplace As IStorageFile) As IAsyncAction

Parameter

fileToReplace
IStorageFile

Die zu ersetzende Datei.

Gibt zurück

Von dieser Methode wird kein Objekt oder Wert zurückgegeben.

Implementiert

Attribute

Gilt für: