Class LinkPermission
Permissions for actions that can be performed on a link.
Inheritance
System.Object
LinkPermission
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 LinkPermission
Constructors
| Improve this Doc View SourceLinkPermission(LinkAction, Boolean, PermissionDeniedReason)
Initializes a new instance of the LinkPermission class.
Declaration
public LinkPermission(LinkAction action, bool allow, PermissionDeniedReason reason = null)
Parameters
Type | Name | Description |
---|---|---|
LinkAction | action | The action |
System.Boolean | allow | The allow |
PermissionDeniedReason | reason | The reason |
Properties
| Improve this Doc View SourceAction
Gets the action of the link permission
Declaration
public LinkAction Action { get; protected set; }
Property Value
Type | Description |
---|---|
LinkAction |
Allow
Gets the allow of the link permission
Declaration
public bool Allow { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Reason
Gets the reason of the link permission
Declaration
public PermissionDeniedReason Reason { get; protected set; }
Property Value
Type | Description |
---|---|
PermissionDeniedReason |