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

# DocumentDefinitions オブジェクトの CheckIn メソッド

このメソッドは、指定した Document Definition とその請求書設定の編集モードを終了し、加えたすべての変更を保存します。

> [!WARNING]
>
> Document Definition のチェックアウト、編集、チェックインは、同じスコープ内で行う必要があります。

## 構文

```vb Visual Basic .NET theme={null}
Sub CheckIn(Value As DocumentDefinition)
```

```cpp C++ theme={null}
HRESULT CheckIn( IDocumentDefinition* Value );
```

## パラメーター

**Value**

\[in] このパラメーターは、変更済みの [**DocumentDefinition**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/documentdefinition.md) オブジェクトを指します。このオブジェクトは、すべての設定が保存された状態で編集モードから返されます。

## 戻り値

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

## サンプル

このメソッドは、次のコード サンプルで使用されています：[請求書の処理と学習](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/samples.md#invoicesprocessingandtraining)

## 関連項目

[**DocumentDefinitions**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/documentdefinitions.md)
