Represents a collection of permission information for document elements.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class PermissionInfoCollection : ICollection<PermissionInfo>, IEnumerable<PermissionInfo>, IEnumerable
Inheritance: objectPermissionInfoCollection
Implements:
Constructors
public PermissionInfoCollection()
Properties
Gets the number of elements contained in the PermissionInfoCollection.
public int Count { get; }
Implements:
Gets a value that indicates whether the collection is read-only.
public bool IsReadOnly { get; }
Implements:
Methods
Adds a new PermissionInfo object to the collection.
public void Add(PermissionInfo item)
The PermissionInfo object to be added to the collection.
Implements:
Removes all elements from the PermissionInfoCollection.
public void Clear()
Implements:
This method clears the collection, leaving it empty.
Determines whether the collection contains a specified permission information object.
public bool Contains(PermissionInfo item)
The permission information object to locate in the collection.
Returns:True if the collection contains an element with the specified permission information; otherwise, false.
Implements:
Copies the elements of the PermissionInfoCollection to a specified one-dimensional array, starting at the specified array index.
public void CopyTo(PermissionInfo[] array, int arrayIndex)
The one-dimensional array that is the destination of the elements copied from PermissionInfoCollection.
arrayIndexintThe zero-based index at which copying begins.
Implements:
Returns an enumerator that iterates through the PermissionInfoCollection.
public IEnumerator<PermissionInfo> GetEnumerator()
An enumerator positioned before the first element in the PermissionInfoCollection.
Implements:
Removes the specified PermissionInfo object from the collection.
public bool Remove(PermissionInfo item)
The PermissionInfo object to be removed from the collection.
Returns:Returns true if the specified PermissionInfo was successfully removed; otherwise, false.
Implements: