語言

FileOperationRequest.OperationMove 欄位

定義

警告

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_MOVE", 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 OperationMove = 1;
[<Android.Runtime.Register("OPERATION_MOVE", 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 OperationMove : Android.OS.Storage.Operations.FileOperationMode

欄位值

Value = 1

實作

屬性

備註

操作模式表示檔案應從來源移至目標。

移動操作會導致檔案被傳送到操作目標指定的目的地,隨後從操作來源中移除。

注意:雖然會嘗試移動,但可能導致標準的複製+刪除行為,因為來源/目標可能不在同一底層儲存卷。

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

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

適用於