> ## 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.

# GetAsRegExpDictionaryDescription Method of the DictionaryDescription Object

This method returns the dictionary description as the [RegExpDictionaryDescription](/fine-reader/engine/api-reference/language-related-objects/regexpdictionarydescription) object. If the dictionary description is not a regular-expression-based dictionary description, NULL is returned.

## Syntax

### C++

```cpp theme={null}
HRESULT GetAsRegExpDictionaryDescription( IRegExpDictionaryDescription** Result );
```

### C\#

```csharp theme={null}
IRegExpDictionaryDescription GetAsRegExpDictionaryDescription();
```

### Visual Basic .NET

```vb theme={null}
Function GetAsRegExpDictionaryDescription() As IRegExpDictionaryDescription
```

## Parameters

Result

\[out, retval] A pointer to IRegExpDictionaryDescription\* pointer variable that receives the interface pointer to the returned [RegExpDictionaryDescription](/fine-reader/engine/api-reference/language-related-objects/regexpdictionarydescription) object.

## Return values

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

## See also

[DictionaryDescription](/fine-reader/engine/api-reference/language-related-objects/dictionarydescription)

[RegExpDictionaryDescription](/fine-reader/engine/api-reference/language-related-objects/regexpdictionarydescription)
