OpenExistingDictionary Method of the LanguageDatabase Object

This method opens an existing user dictionary for editing. It returns the interface pointer to the Dictionary object associated with the dictionary.

The OpenExistingDictionary method can open dictionaries created with the help of the ILanguageDatabase::CreateNewDictionary method.

Syntax

C++

HRESULT OpenExistingDictionary(
  BSTR           FileName,
  LanguageIdEnum LanguageId,
  IDictionary**  Result
);
    

C#

IDictionary OpenExistingDictionary(
  string         FileName,
  LanguageIdEnum LanguageId
);
    

Visual Basic .NET

Function OpenExistingDictionary( _
  FileName As String, _
  LanguageId As LanguageIdEnum, _
) As IDictionary
    

Parameters

FileName
[in] Contains the full path to the dictionary file. If the specified dictionary file does not exist, an error is returned.
LanguageId
[in] A variable of LanguageIdEnum type that defines the language for the dictionary.
Result
[out, retval] A pointer to IDictionary* pointer variable that receives the interface pointer to the Dictionary object associated with the dictionary. You may then edit this dictionary via this object's methods.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

Working with Dictionaries

LanguageDatabase

CreateNewDictionary

Dictionary

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.