Click or drag to resize

WriteMode Class

Your intent when writing a file to some path. This is used to determine what constitutes a conflict and what the autorename strategy is.

In some situations, the conflict behavior is identical: (a) If the target path doesn't refer to anything, the file is always written; no conflict. (b) If the target path refers to a folder, it's always a conflict. (c) If the target path refers to a file with identical contents, nothing gets written; no conflict.

The conflict checking differs in the case where there's a file at the target path with contents different from the contents you're trying to write.

Inheritance Hierarchy

Namespace:  Dropbox.Api.Files
Assembly:  Dropbox.Api (in Dropbox.Api.dll) Version: 4.0
Syntax
public class WriteMode

The WriteMode type exposes the following members.

Constructors
  NameDescription
Public methodWriteMode

Initializes a new instance of the WriteMode class.

Top
Properties
  NameDescription
Public propertyAsAdd

Gets this instance as a Add, or null.

Public propertyAsOverwrite

Gets this instance as a Overwrite, or null.

Public propertyAsUpdate

Gets this instance as a Update, or null.

Public propertyIsAdd

Gets a value indicating whether this instance is Add

Public propertyIsOverwrite

Gets a value indicating whether this instance is Overwrite

Public propertyIsUpdate

Gets a value indicating whether this instance is Update

Top
See Also