Files.Move(IPath, IPath, ICopyOption[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Move or rename a file to a target file.
[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
Parameters
- source
- IPath
the path to the file to move
- target
- IPath
the path to the target file (may be associated with a different provider to the source path)
- options
- ICopyOption[]
options specifying how the move should be done
Returns
the path to the target file
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.