Sprache

FileSystemProvider.Copy(IPath, IPath, ICopyOption[]) Methode

Definition

Kopieren Sie eine Datei in eine Zieldatei.

[Android.Runtime.Register("copy", "(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V", "GetCopy_Ljava_nio_file_Path_Ljava_nio_file_Path_arrayLjava_nio_file_CopyOption_Handler", ApiSince=26)]
public abstract void Copy(Java.Nio.FileNio.IPath? source, Java.Nio.FileNio.IPath? target, params Java.Nio.FileNio.ICopyOption[]? options);
[<Android.Runtime.Register("copy", "(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V", "GetCopy_Ljava_nio_file_Path_Ljava_nio_file_Path_arrayLjava_nio_file_CopyOption_Handler", ApiSince=26)>]
abstract member Copy : Java.Nio.FileNio.IPath * Java.Nio.FileNio.IPath * Java.Nio.FileNio.ICopyOption[] -> unit

Parameter

source
IPath

Der Pfad zur zu kopierenden Datei

target
IPath

Der Pfad zur Zieldatei

options
ICopyOption[]

Optionen, die angeben, wie die Kopie durchgeführt werden soll

Attribute

Hinweise

Java Dokumentation für java.nio.file.spi.FileSystemProvider.copy(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: