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

# Check Method of the DocumentDefinition Object

The method checks the Document Definition and updates the value of the [**IDocumentDefinition::IsValid**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinition.md) property.

## Syntax

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

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

## Parameters

**Result**

\[out, retval] A pointer to a **Boolean** variable that receives the result of checking.

## Return values

This function has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

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