PasswordDictionary class
Leave feedback
On this page
Represents a dictionary of document passwords.
Learn more
- https://docs.groupdocs.com/search/python-net/indexing-password-protected-documents/
- https://docs.groupdocs.com/search/python-net/document-passwords/
The PasswordDictionary type exposes the following members:
| Method | Description |
|---|---|
| add | Adds a password for a document to the dictionary. |
| append | |
| clear | Removes all passwords from this PasswordDictionary object. |
| contains | Determines whether the dictionary contains a password for the specified document. |
| get_enumerator | Returns an iterator that iterates through the collection. |
| get_password | Retrieves the password for the specified file. |
| remove | Removes the password for the specified document from the dictionary. |
| export_dictionary | Exports the dictionary to a file with the specified name. (inherited from DictionaryBase) |
| import_dictionary | Imports a dictionary from the specified file. (inherited from DictionaryBase) |
| Property | Description |
|---|---|
| count | The number of elements contained in the dictionary. |
| dictionary_type | The dictionary type. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.