Show / Hide Table of Contents

Class WriteMode

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
System.Object
WriteMode
WriteMode.Add
WriteMode.Overwrite
WriteMode.Update
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class WriteMode

Constructors

| Improve this Doc View Source

WriteMode()

Initializes a new instance of the WriteMode class.

Declaration
public WriteMode()

Properties

| Improve this Doc View Source

AsAdd

Gets this instance as a Add, or null.

Declaration
public WriteMode.Add AsAdd { get; }
Property Value
Type Description
WriteMode.Add
| Improve this Doc View Source

AsOverwrite

Gets this instance as a Overwrite, or null.

Declaration
public WriteMode.Overwrite AsOverwrite { get; }
Property Value
Type Description
WriteMode.Overwrite
| Improve this Doc View Source

AsUpdate

Gets this instance as a Update, or null.

Declaration
public WriteMode.Update AsUpdate { get; }
Property Value
Type Description
WriteMode.Update
| Improve this Doc View Source

IsAdd

Gets a value indicating whether this instance is Add

Declaration
public bool IsAdd { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsOverwrite

Gets a value indicating whether this instance is Overwrite

Declaration
public bool IsOverwrite { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsUpdate

Gets a value indicating whether this instance is Update

Declaration
public bool IsUpdate { get; }
Property Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • WriteMode()
  • Properties
    • AsAdd
    • AsOverwrite
    • AsUpdate
    • IsAdd
    • IsOverwrite
    • IsUpdate
Back to top Generated by DocFX