PasswordDictionary class

PasswordDictionary class

Represents a dictionary of document passwords.

Learn more

The PasswordDictionary type exposes the following members:

Methods

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)

Properties

Property Description
count The number of elements contained in the dictionary.
dictionary_type The dictionary type.

See Also