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

このメソッドは、指定した Document Definition とその請求書設定の編集モードを解除し、加えられたすべての変更を破棄します。

## 構文

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

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

## パラメーター

**Value**

\[in] このパラメーターは、編集モードを解除し、[**CheckOut**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/documentdefinitions-checkout.md) メソッドが呼び出される前の状態に戻す対象の [**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)を返します。

## 関連項目

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