Remove

PasswordDictionary.Remove method

Removes a password of the specified document from the dictionary.

public bool Remove(string key)
Parameter Type Description
key String The full file path or a document key.

Return Value

true if the password was successfully removed; otherwise, false. This method also returns false if key was not found in the dictionary.

Exceptions

exception condition
InvalidOperationException The index of the dictionary is disposed.

See Also