語言

FileOperationRequest.OperationCopy 欄位

定義

警告

This constant will be removed in the future version. Use Android.OS.Storage.Operations.FileOperationMode enum directly instead of this field.

操作模式表示檔案應從來源複製到目標端。

[Android.Runtime.Register("OPERATION_COPY", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.Storage.Operations.FileOperationMode enum directly instead of this field.", true)]
public const Android.OS.Storage.Operations.FileOperationMode OperationCopy = 2;
[<Android.Runtime.Register("OPERATION_COPY", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.Storage.Operations.FileOperationMode enum directly instead of this field.", true)>]
val mutable OperationCopy : Android.OS.Storage.Operations.FileOperationMode

欄位值

Value = 2

實作

屬性

備註

操作模式表示檔案應從來源複製到目標端。

複製操作會在 OperationTarget 指定的目的地從 OperationSource 建立檔案的複製,而原始檔案則在來源保持不變。

Android 參考資料。android.os.storage.operations.FileOperationRequest.OPERATION_COPY

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於