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

# Language オブジェクトの AsSimpleLanguage メソッド

このメソッドは、言語を [**SimpleLanguage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/simplelanguage.md) オブジェクトとして返します。言語が単純言語でない場合は NULL を返します。

## 構文

```vb Visual Basic .NET theme={null}
Function AsSimpleLanguage() As SimpleLanguage
```

```cpp C++ theme={null}
HRESULT AsSimpleLanguage(
  ISimpleLanguage** result
);
```

## パラメーター

**result**

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

## 戻り値

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

## 関連項目

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

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