A collection of Permission objects that
represent the permission in the document.
Namespace: Spire.Doc.CollectionsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class PermissionCollection : CollectionEx
Public Class PermissionCollection Inherits CollectionEx
public ref class PermissionCollection : public CollectionEx
type PermissionCollection = class inherit CollectionEx end
Members
| All Members | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| Clear()()()() |
Removes all permissions from the document.
| |
| Count |
Gets the number of items in the collection.
(Inherited from CollectionEx.) | |
| Document |
Gets the document.
(Inherited from OwnerHolder.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FindById(String) |
Finds Permission object by specified id
| |
| GetEnumerator()()()() |
Returns an enumerator that iterates through a collection.
(Inherited from CollectionEx.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Item[([( Int32])]) |
Gets the Permission at the specified index.
| |
| Item[([( String])]) |
Gets the Permission with the specified id.
| |
| m_doc | (Inherited from OwnerHolder.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Remove(Permission) |
Removes the specified permission.
| |
| RemoveAt(Int32) |
Removes a permission at the specified index.
| |
| ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
System..::..Object
Spire.Doc..::..OwnerHolder
Spire.Doc.Collections..::..CollectionEx
Spire.Doc.Collections..::..PermissionCollection
Spire.Doc..::..OwnerHolder
Spire.Doc.Collections..::..CollectionEx
Spire.Doc.Collections..::..PermissionCollection