Class UploadArg
The upload arg object
Inherited Members
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class UploadArg : CommitInfo
Constructors
| Improve this Doc View SourceUploadArg(String, WriteMode, Boolean, Nullable<DateTime>, Boolean, IEnumerable<PropertyGroup>, Boolean, String)
Initializes a new instance of the UploadArg class.
Declaration
public UploadArg(string path, WriteMode mode = null, bool autorename = false, DateTime? clientModified = null, bool mute = false, IEnumerable<PropertyGroup> propertyGroups = null, bool strictConflict = false, string contentHash = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | Path in the user's Dropbox to save the file. |
WriteMode | mode | Selects what to do if the file already exists. |
System.Boolean | autorename | If there's a conflict, as determined by |
System.Nullable<System.DateTime> | clientModified | The value to store as the |
System.Boolean | mute | Normally, users are made aware of any file modifications in
their Dropbox account via notifications in the client software. If |
System.Collections.Generic.IEnumerable<PropertyGroup> | propertyGroups | List of custom properties to add to file. |
System.Boolean | strictConflict | Be more strict about how each WriteMode
detects conflict. For example, always return a conflict error when |
System.String | contentHash | A hash of the file content uploaded in this call. If provided and the uploaded content does not match this hash, an error will be returned. For more information see our Content hash page. |
Properties
| Improve this Doc View SourceContentHash
A hash of the file content uploaded in this call. If provided and the uploaded content does not match this hash, an error will be returned. For more information see our Content hash page.
Declaration
public string ContentHash { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |