FileSystemProvider.Copy(IPath, IPath, ICopyOption[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將檔案複製到目標檔案。
[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
參數
- source
- IPath
要複製的檔案路徑
- target
- IPath
目標檔案的路徑
- options
- ICopyOption[]
指定複製方式的選項
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。