> ## 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 オブジェクトの CheckOut メソッド

このメソッドは、Document Definition とその請求書設定を編集モードに切り替えます。

> [!WARNING]
>
> Document Definition のチェックアウト、編集、チェックインは、同じスコープ内で行ってください。

## 構文

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

```cpp C++ theme={null}
HRESULT CheckOut( 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)を返します。

## サンプル

このメソッドは、次のコード サンプルで使用されています：[Invoices Processing and Training](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)
