Dropbox .NET SDK
Show / Hide Table of Contents

Class RelocationArg

The relocation arg object

Inheritance
object
RelocationPath
RelocationArg
Inherited Members
RelocationPath.FromPath
RelocationPath.ToPath
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class RelocationArg : RelocationPath

Constructors

View Source

RelocationArg(string, string, bool, bool, bool)

Initializes a new instance of the RelocationArg class.

Declaration
public RelocationArg(string fromPath, string toPath, bool allowSharedFolder = false, bool autorename = false, bool allowOwnershipTransfer = false)
Parameters
Type Name Description
string fromPath

Path in the user's Dropbox to be copied or moved.

string toPath

Path in the user's Dropbox that is the destination.

bool allowSharedFolder

Field is deprecated. This flag has no effect.

bool autorename

If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict.

bool allowOwnershipTransfer

Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies.

Properties

View Source

AllowOwnershipTransfer

Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies.

Declaration
public bool AllowOwnershipTransfer { get; protected set; }
Property Value
Type Description
bool
View Source

AllowSharedFolder

Field is deprecated. This flag has no effect.

Declaration
public bool AllowSharedFolder { get; protected set; }
Property Value
Type Description
bool
View Source

Autorename

If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict.

Declaration
public bool Autorename { get; protected set; }
Property Value
Type Description
bool
  • View Source
In this article
Back to top Dropbox .NET SDK