Holds permission entries for the editing-permissions UI and prevents duplicate case-sensitive name/type pairs.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class PermissionInfoCollection : IEnumerable
Inheritance: objectPermissionInfoCollection
Implements:
Constructors
public PermissionInfoCollection()
Properties
Gets whether the collection is read-only; this collection is mutable.
public bool IsReadOnly { get; }
Methods
Adds a permission unless an entry with the same case-sensitive name and type is already present.
Removes all permission entries.
public void Clear()
Determines whether an entry with the same case-sensitive name and type is present.
public bool Contains(PermissionInfo item)
The permission entry to find.
Returns:Copies the permission entries into an array starting at the specified index.
public void CopyTo(PermissionInfo[] array, int arrayIndex)
The destination array.
arrayIndexintThe zero-based destination index.
Enumerates the permission entries in collection order.
public IEnumerator<PermissionInfo> GetEnumerator()
IEnumerator<PermissionInfo>
An enumerator over the permission entries.
Removes the matching permission entry.
public bool Remove(PermissionInfo item)
The permission entry to remove.
Returns: