FileOperationRequest.OperationMove 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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实现
- 特性
注解
指示应将文件从源移动到目标的操作模式。
移动操作会导致文件传输到 OperationTarget 指定的目标,然后从 OperationSource 中删除。
注意:虽然尝试移动,但这仍然会导致标准复制 + 删除行为,因为源/目标可能不在同一基础存储卷上。
Android 参考。android.os.storage.operations.FileOperationRequest.OPERATION_MOVE
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。