Click or drag to resize
MimeKit

AccessRights Class

A set of access rights.
Inheritance Hierarchy
SystemObject
  MailKitAccessRights

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public class AccessRights : ICollection<AccessRight>, 
	IEnumerable<AccessRight>, IEnumerable

The AccessRights type exposes the following members.

Constructors
 NameDescription
Public methodAccessRights Initializes a new instance of the AccessRights class.
Public methodAccessRights(IEnumerableAccessRight) Initializes a new instance of the AccessRights class.
Public methodAccessRights(String) Initializes a new instance of the AccessRights class.
Top
Properties
 NameDescription
Public propertyCount Get the number of access rights in the collection.
Public propertyIsReadOnly Get whether or not this set of access rights is read only.
Public propertyItem Get the access right at the specified index.
Top
Methods
 NameDescription
Public methodAdd(AccessRight) Add the specified access right.
Public methodAdd(Char) Add the specified right.
Public methodAddRange(IEnumerableAccessRight) Add the range of specified rights.
Public methodAddRange(String) Add the rights specified by the characters in the given string.
Public methodClear Clears the access rights.
Public methodContains Checks if the set of access rights contains the specified right.
Public methodCopyTo Copies all of the access rights to the specified array.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetEnumerator Get the access rights enumerator.
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodRemove Removes the specified access right.
Public methodToString Return a String that represents the current AccessRights.
(Overrides ObjectToString)
Top
Remarks
The set of access rights for a particular identity.
See Also