Class CreateSharedLinkArg
The create shared link arg object
Inherited Members
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class CreateSharedLinkArg
Constructors
View SourceCreateSharedLinkArg(string, bool, PendingUploadMode)
Initializes a new instance of the CreateSharedLinkArg class.
Declaration
public CreateSharedLinkArg(string path, bool shortUrl = false, PendingUploadMode pendingUpload = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | The path to share. |
| bool | shortUrl | Field is deprecated. None |
| PendingUploadMode | pendingUpload | If it's okay to share a path that does not yet exist, set this to either PendingUploadMode.File or PendingUploadMode.Folder to indicate whether to assume it's a file or folder. |
Properties
View SourcePath
The path to share.
Declaration
public string Path { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
PendingUpload
If it's okay to share a path that does not yet exist, set this to either PendingUploadMode.File or PendingUploadMode.Folder to indicate whether to assume it's a file or folder.
Declaration
public PendingUploadMode PendingUpload { get; protected set; }
Property Value
| Type | Description |
|---|---|
| PendingUploadMode |
ShortUrl
Field is deprecated. None
Declaration
public bool ShortUrl { get; protected set; }
Property Value
| Type | Description |
|---|---|
| bool |