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

# DocumentDefinition オブジェクトの Check メソッド

このメソッドは Document Definition を検証し、[**IDocumentDefinition::IsValid**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/documentdefinition.md) プロパティの値を更新します。

## 構文

```vb Visual Basic .NET theme={null}
Function Check() As Boolean
```

```cpp C++ theme={null}
HRESULT Check(
   VARIANT_BOOL* Result
);
```

## パラメーター

**Result**

\[out, retval] チェック結果を受け取る**ブール型**変数へのポインター。

## 戻り値

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

## 関連項目

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