Access Rights Class
A set of access rights.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class AccessRights : ICollection<AccessRight>,
IEnumerable<AccessRight>, IEnumerable- Inheritance
- Object AccessRights
- Implements
- ICollectionAccessRight, IEnumerableAccessRight, IEnumerable
Remarks
The set of access rights for a particular identity.
Constructors
| AccessRights | Initializes a new instance of the AccessRights class. |
| AccessRights(IEnumerableAccessRight) | Initializes a new instance of the AccessRights class. |
| AccessRights(String) | Initializes a new instance of the AccessRights class. |
Properties
| Count | Get the number of access rights in the collection. |
| IsReadOnly | Get whether or not this set of access rights is read only. |
| Item | Get the access right at the specified index. |
Methods
| Add(AccessRight) | Add the specified access right. |
| Add(Char) | Add the specified right. |
| AddRange(IEnumerableAccessRight) | Add the range of specified rights. |
| AddRange(String) | Add the rights specified by the characters in the given string. |
| Clear | Clears the access rights. |
| Contains | Checks if the set of access rights contains the specified right. |
| CopyTo | Copies all of the access rights to the specified array. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetEnumerator | Get the access rights enumerator. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Remove | Removes the specified access right. |
| ToString |
Return a String that represents the current AccessRights.
(Overrides ObjectToString) |