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

# VerificationObject オブジェクトの AsContextVerificationObject メソッド

このメソッドは、検証オブジェクトを [**ContextVerificationObject**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/contextverificationobject.md) オブジェクトとして返します。オブジェクトがコンテキスト検証オブジェクトでない場合は NULL を返します。

## 構文

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

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

## パラメーター

**result**

\[out, retval] 返される [**ContextVerificationObject**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/contextverificationobject.md) オブジェクトへのインターフェースポインターを受け取る **IContextVerificationObject**\* ポインター変数へのポインター。

## 戻り値

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

## 関連項目

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

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