ClassPermissionInfoCollection
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
PermissionInfoCollection()
Declaration
public PermissionInfoCollection()
Properties
Count
Gets the number of elements contained in the PermissionInfoCollection.
IsReadOnly
Gets a value that indicates whether the collection is read-only.
Methods
Add(PermissionInfo)
Adds a new PermissionInfo object to the collection.
Declaration
public void Add(PermissionInfo item)
Parameters
item
The PermissionInfo object to be added to the collection.
Implements
Clear()
Removes all elements from the PermissionInfoCollection.
Declaration
public void Clear()
Implements
Remarks
This method clears the collection, leaving it empty.
Contains(PermissionInfo)
Determines whether the collection contains a specified permission information object.
Declaration
public bool Contains(PermissionInfo item)
Parameters
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
CopyTo(PermissionInfo[], int)
Copies the elements of the PermissionInfoCollection to a specified one-dimensional array, starting at the specified array index.
Declaration
public void CopyTo(PermissionInfo[] array, int arrayIndex)
Parameters
array
The one-dimensional array that is the destination of the elements copied from PermissionInfoCollection.
arrayIndex
The zero-based index at which copying begins.
Implements
GetEnumerator()
Returns an enumerator that iterates through the PermissionInfoCollection.
Declaration
public IEnumerator<PermissionInfo> GetEnumerator()
Returns
An enumerator positioned before the first element in the PermissionInfoCollection.
Implements
Remove(PermissionInfo)
Removes the specified PermissionInfo object from the collection.
Declaration
public bool Remove(PermissionInfo item)
Parameters
item
The PermissionInfo object to be removed from the collection.
Returns
Returns true if the specified PermissionInfo was successfully removed; otherwise, false.
Implements