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

# AsContextVerificationObject Method of the VerificationObject Object

This method reterns the verification object as the [**ContextVerificationObject**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/contextverificationobject.md) object. If the object is not a context verification object, NULL is returned.

## Syntax

```vb Visual Basic .NET theme={null}
Function AsContextVerificationObject() As ContextVerificationObject
```

```cpp C++ theme={null}
HRESULT AsContextVerificationObject(
  IContextVerificationObject** result
);
```

## Parameters

**result**

\[out, retval] A pointer to the **IContextVerificationObject\*** pointer variable that receives the interface pointer to the returned [**ContextVerificationObject**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/contextverificationobject.md) object.

## Return values

This method 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

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

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