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

# BusinessUnitRecords オブジェクトの LookUp メソッド

このメソッドは、事業部門データベースを全文検索した結果を返します。検索文字列には、会社名または住所を指定できます。

## 構文

```vb Visual Basic .NET theme={null}
Function LookUp(Query As String) As LookUpResult
```

```cpp C++ theme={null}
HRESULT LookUp(
  BSTR             Query,
  ILookUpResult**  Result
);
```

## パラメーター

**Query**

\[in] 会社名または住所を含む検索文字列。

**Result**

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

## 戻り値

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

## 関連項目

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