Class CreateSharedLinkArg
The create shared link arg object
Inheritance
System.Object
CreateSharedLinkArg
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.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class CreateSharedLinkArg
Constructors
| Improve this Doc View SourceCreateSharedLinkArg(String, Boolean, PendingUploadMode)
Initializes a new instance of the CreateSharedLinkArg class.
Declaration
public CreateSharedLinkArg(string path, bool shortUrl = false, PendingUploadMode pendingUpload = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path to share. |
System.Boolean | shortUrl | The short url |
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
| Improve this Doc View SourcePath
The path to share.
Declaration
public string Path { get; protected set; }
Property Value
Type | Description |
---|---|
System.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
Gets the short url of the create shared link arg
Declaration
public bool ShortUrl { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |