> ## 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 メソッド

このメソッドはリソースを解放します。これは補助メソッドのため、[**ハンドル**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/handle.md) オブジェクトを解放する前に呼び出す必要はありません。**ハンドル** オブジェクトを解放すると、リソースも自動的に解放されます。

## 構文

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

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

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

## 戻り値

このメソッドには固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)のいずれかを返します。

## 関連項目

[**ハンドル**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/handle.md)
