Class AddFileMemberArgs
Arguments for AddFileMemberAsync(AddFileMemberArgs).
Inheritance
Inherited Members
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class AddFileMemberArgs
Constructors
| Improve this Doc View SourceAddFileMemberArgs(String, IEnumerable<MemberSelector>, String, Boolean, AccessLevel, Boolean)
Initializes a new instance of the AddFileMemberArgs class.
Declaration
public AddFileMemberArgs(string file, IEnumerable<MemberSelector> members, string customMessage = null, bool quiet = false, AccessLevel accessLevel = null, bool addMessageAsComment = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | file | File to which to add members. |
System.Collections.Generic.IEnumerable<MemberSelector> | members | Members to add. Note that even an email address is given, this may result in a user being directly added to the membership if that email is the user's main account email. |
System.String | customMessage | Message to send to added members in their invitation. |
System.Boolean | quiet | Whether added members should be notified via email and device notifications of their invitation. |
AccessLevel | accessLevel | AccessLevel union object, describing what access level we want to give new members. |
System.Boolean | addMessageAsComment | If the custom message should be added as a comment on the file. |
Properties
| Improve this Doc View SourceAccessLevel
AccessLevel union object, describing what access level we want to give new members.
Declaration
public AccessLevel AccessLevel { get; protected set; }
Property Value
Type | Description |
---|---|
AccessLevel |
AddMessageAsComment
If the custom message should be added as a comment on the file.
Declaration
public bool AddMessageAsComment { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CustomMessage
Message to send to added members in their invitation.
Declaration
public string CustomMessage { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
File
File to which to add members.
Declaration
public string File { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Members
Members to add. Note that even an email address is given, this may result in a user being directly added to the membership if that email is the user's main account email.
Declaration
public IList<MemberSelector> Members { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<MemberSelector> |
Quiet
Whether added members should be notified via email and device notifications of their invitation.
Declaration
public bool Quiet { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |