> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SetDictionary Method of the ExternalDictionaryDescription Object

This method attaches an external dictionary.

## Syntax

### C++

```cpp theme={null}
HRESULT SetDictionary( IExternalDictionary* Dictionary );
```

### C\#

```csharp theme={null}
void SetDictionary( IExternalDictionary Dictionary );
```

### Visual Basic .NET

```vb theme={null}
Sub SetDictionary(Dictionary As IExternalDictionary)
```

## Parameters

Dictionary

\[in] This parameter contains a pointer to the [IExternalDictionary](/fine-reader/engine/api-reference/language-related-objects/iexternaldictionary-interface) interface which represents an external dictionary.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[ExternalDictionaryDescription](/fine-reader/engine/api-reference/language-related-objects/externaldictionarydescription)
