Lenguaje

Files.Move(IPath, IPath, ICopyOption[]) Método

Definición

Mueva o cambie el nombre de un archivo a un archivo de destino.

[Android.Runtime.Register("move", "(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;", "", ApiSince=26)]
public static Java.Nio.FileNio.IPath? Move(Java.Nio.FileNio.IPath? source, Java.Nio.FileNio.IPath? target, params Java.Nio.FileNio.ICopyOption[]? options);
[<Android.Runtime.Register("move", "(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;", "", ApiSince=26)>]
static member Move : Java.Nio.FileNio.IPath * Java.Nio.FileNio.IPath * Java.Nio.FileNio.ICopyOption[] -> Java.Nio.FileNio.IPath

Parámetros

source
IPath

ruta de acceso al archivo que se va a mover

target
IPath

la ruta de acceso al archivo de destino (puede estar asociada a un proveedor diferente a la ruta de acceso de origen)

options
ICopyOption[]

opciones que especifican cómo se debe realizar el traslado

Devoluciones

la ruta de acceso al archivo de destino

Atributos

Comentarios

Java documentación para java.nio.file.Files.move(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a