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

# CloseHandle Method of the Handle Object

This method releases the resource. This is a supplementary method, there is no need to call it before releasing the [**Handle**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/handle.md) object. If you release the **Handle** object, the resource is released automatically.

## Syntax

```cpp C++ theme={null}
HRESULT CloseHandle();
```

```csharp C# theme={null}
void CloseHandle();
```

```vb Visual Basic .NET theme={null}
Sub CloseHandle();
```

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

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