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

# DeleteRecognitionLanguage Method of the Country Object

This method removes a recognition language from the country configuration.

> [!NOTE]
>
> An attempt to remove a language that was never added causes an error.

## Syntax

```vb Visual Basic .NET theme={null}
Function DeleteRecognitionLanguage(LanguageName As String)
```

```cpp C++ theme={null}
HRESULT DeleteRecognitionLanguage(
  BSTR LanguageName
);
```

## Parameters

**LanguageName**

\[in] One of the predefined internal language names. See [Predefined Languages in ABBYY FlexiCapture SDK](https://docs.abbyy.com/flexi-capture/sdk/specifications/langnames.md).

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

[**Country**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/country.md)

[Predefined Languages in ABBYY FlexiCapture SDK](https://docs.abbyy.com/flexi-capture/sdk/specifications/langnames.md)
